日期:2014-05-16 浏览次数:20357 次
fm.action = '/prpall/processPolicyBatchPrint.do?actionType=queryPolicyDocumentType';这个submit之后还能再写一个类似的么,就是说我想让一个方法提交两次,就是action不同。
fm.target='_parent';
fm.submit();
String path = request.getContextPath();
String basePath = request.getScheme() + "://"
+ request.getServerName() + ":" + request.getServerPort()
+ path + "/";
var basePath = '<%=basePath%>';
alert(basePath); //http://localhost:8080/
String path = request.getContextPath();
String basePath = request.getScheme() + "://"
+ request.getServerName() + ":" + request.getServerPort()
+ path + "/";
request.setAttribute("basePath", basePath);
var basePath = ${'basePath'};
alert(basePath); //http://localhost:8080/