<form action="userrolelist.jsp" method="post" >
<tr><td><%=flabel.getProperty("userrolelist_userid") %>: <span id='ruid' ><%=uid %></span>
<input type="button" name="chkid" value="<%=flabel.getProperty("userrolelist_checkid") %>" onclick="window.open('useroptlist.jsp?usrtype=allusr&fspan=ruid&fvalue=uid','popuppage','width=100,height=300,top=100,left=100, scrollbars=yes, resizable=yes');" >
<input type="submit" name="B1" value="<%= flabel.getProperty("userrolelist_retrieve")%>" ><br><br><br>
</td></tr>
</form> 在userrolelist.jsp中有这样一段代码! 当点击submit按钮的时候重新转到本页面 String uid = request.getParameter("uid");
LinkList rlst = new LinkList(); if(uid != null && uid.trim().length() !=0 ){
rlst = theSecurity.getUserRoleHistory(uid);
}
else{
uid = new String();
} 这一段的作用是:当post到本页面时,读取request.getParameter("uid")的值,如果uid不为null,则执行rlst = theSecurity.getUserRoleHistory(uid); 问题是: 在IE下执行正常,而在FireFox中却没有反应,这个是什么原因呢! 我查了一下tomcat控制台的返回讯息 如果是IE:
Inside jspFunction.jsp ....
fname is :C:\\Documents and Settings\\ns00001\\workspace\\mwapp\\properties\\MWrole_zh_CN.xml
UserSecurity.getUserRoleHistory:org.apache.tomcat.dbcp.dbcp.DelegatingPreparedStatement@788a7b
如果是FireFox:
Inside jspFunction.jsp ....
fname is :C:\\Documents and Settings\\ns00001\\workspace\\mwapp\\properties\\MWrole_zh_CN.xml
也就是没有执行
UserSecurity.getUserRoleHistory:org.apache.tomcat.dbcp.dbcp.DelegatingPreparedStatement@788a7b
(rlst = theSecurity.getUserRoleHistory(uid);)我的表述清楚了吗?
<tr><td><%=flabel.getProperty("userrolelist_userid") %>: <span id='ruid' ><%=uid %></span>
<input type="button" name="chkid" value="<%=flabel.getProperty("userrolelist_checkid") %>" onclick="window.open('useroptlist.jsp?usrtype=allusr&fspan=ruid&fvalue=uid','popuppage','width=100,height=300,top=100,left=100, scrollbars=yes, resizable=yes');" >
<input type="submit" name="B1" value="<%= flabel.getProperty("userrolelist_retrieve")%>" ><br><br><br>
</td></tr>
</form> 在userrolelist.jsp中有这样一段代码! 当点击submit按钮的时候重新转到本页面 String uid = request.getParameter("uid");
LinkList rlst = new LinkList(); if(uid != null && uid.trim().length() !=0 ){
rlst = theSecurity.getUserRoleHistory(uid);
}
else{
uid = new String();
} 这一段的作用是:当post到本页面时,读取request.getParameter("uid")的值,如果uid不为null,则执行rlst = theSecurity.getUserRoleHistory(uid); 问题是: 在IE下执行正常,而在FireFox中却没有反应,这个是什么原因呢! 我查了一下tomcat控制台的返回讯息 如果是IE:
Inside jspFunction.jsp ....
fname is :C:\\Documents and Settings\\ns00001\\workspace\\mwapp\\properties\\MWrole_zh_CN.xml
UserSecurity.getUserRoleHistory:org.apache.tomcat.dbcp.dbcp.DelegatingPreparedStatement@788a7b
如果是FireFox:
Inside jspFunction.jsp ....
fname is :C:\\Documents and Settings\\ns00001\\workspace\\mwapp\\properties\\MWrole_zh_CN.xml
也就是没有执行
UserSecurity.getUserRoleHistory:org.apache.tomcat.dbcp.dbcp.DelegatingPreparedStatement@788a7b
(rlst = theSecurity.getUserRoleHistory(uid);)我的表述清楚了吗?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货