js代码如下:
var cuswin = window.open('htAction.do?flag=eselect&operid='+operid, 'newwindow', 'height=400, width=500, top=0, left=0, toolbar=no, menubar=no, scrollbars=yes, resizable=no,location=n o, status=yes') ;
两种方式:
第一种:在form中没有operid字段
String operid = request.getParameter("operid");//销售员id
第二种:在form中有operid字段
struts会实力化form中相同的变量
可以使用
String str = htform.getOperid();