if(lNextCheckUserID == -2 && lType != LOANConstant.LoanType.YT && lType!=LOANConstant.LoanType.TX )
{
System.out.println("*****************************");
System.out.println(lNextCheckUserID == -2);
System.out.println(lType !=LOANConstant.LoanType.YT);
System.out.println(lType !=LOANConstant.LoanType.TX);
%>
<script language="JavaScript">
if (confirm(" 审核完成,是否打印合同?"))
{
window.open('l124-c.jsp?lContractID=<%=lContractID% >',"popup", "width=280,height=240,scrollbars=1,resizable=0,menubar=0,toolbar=0,locations=0,directories=0, screenX=0,screenY=0,left=440,top=300");
}
</script>
<%
System.out.println("##############################");
}
后台打印:*****************************
true
true
true
##############################
但是为什么不出来confirm 呢?
{
System.out.println("*****************************");
System.out.println(lNextCheckUserID == -2);
System.out.println(lType !=LOANConstant.LoanType.YT);
System.out.println(lType !=LOANConstant.LoanType.TX);
%>
<script language="JavaScript">
if (confirm(" 审核完成,是否打印合同?"))
{
window.open('l124-c.jsp?lContractID=<%=lContractID% >',"popup", "width=280,height=240,scrollbars=1,resizable=0,menubar=0,toolbar=0,locations=0,directories=0, screenX=0,screenY=0,left=440,top=300");
}
</script>
<%
System.out.println("##############################");
}
后台打印:*****************************
true
true
true
##############################
但是为什么不出来confirm 呢?
解决方案 »
- 谁有Borland Enterprise Server AppServer Edition 5.1 的license?谢谢了
- myeclipse 5.5问题
- 求各位大哥指导,怎么跳到自定义的404页面
- 运行struts自带的struts-blank.war出错!问题解决马上结贴!
- 如何将文章置顶?
- websphere问题
- 请教各位如何更好的调试我们编写的jsp程序啊?
- jsp问题
- 请问在一个jsp文件里如何获得本文件的绝对路径?
- 请问怎样调试JSP或者是JAVA程序?
- jsf下如何将tree中的checkbox设置为单选效果,就是选中1个其它节点上被选中的checkbox自动取消选中。
- 连接池与JDBC thin client数量的问题!
response.println("window.open("***************")");
我是想进入整个jsp就弹出整个确定选择框
我用的是SunOne。zhangj0571(笨鸟飞飞) :response.println("window.open("***************")");
你这样做直接就弹出框了 没有选择了。 我想出现confirm 点确定就打印,否则就回来