日期:2014-05-18  浏览次数:20606 次

用struts打开只有边框的网页?
我用struts做了登录,在loginaction中,登录成功后返回到main.jsp上,
我想让main.jsp只有边框,无工具条,菜单等.且长宽都可以指定,我应该怎样写?

------解决方案--------------------
javascript:window.open( ' ', ' ', 'height=500px, width=800, top=10, left=30, toolbar=no, menubar=no,scrollbars=yes,resizable=no,location=no, status=yes ');
------解决方案--------------------
楼上正解
------解决方案--------------------
javascript:window.open( ' ', ' ', 'height=500px, width=800, top=10, left=30, toolbar=no, menubar=no,scrollbars=yes,resizable=no,location=no, status=yes ');应该是放在jsp页面里面的~