今天下午7点以前揭贴(关于jsp的简单问题)
我有一个list2.jsp,在这里
out.print("<a href='search.jsp' Onclick=newwin(this.href) target='mainFrame'>商品查询</a> ");
我调用javascrip产生search.jsp
function newwin(url){
var newwin=window.open(url,"newwin","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=800,height=200");
newwin.focus();
return false;
}
现在点商品查询会有search.jsp在新窗口中出来,但是list2.jsp也变成了search.jsp
我想问怎么才能使list2.jsp不变呢?