Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

opening a jsp page in a new windows  RSS feed

 
Mohd Asim
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am developing a struts based web application. The JSP that i am currently working on has a registration form which saves users to a database upon clicking a submit button. there is another button called report that maps to an action that queries that database and forwards the results to a new JSP page. I want the forwarded JSP page to open in a new window instead of opening in the same registration page. Any help? Thanks in advance.
 
Jeanne Boyarsky
author & internet detective
Sheriff
Posts: 36406
454
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mohd,
You can use target='_new' to open a page in a new window.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!