my dog learned polymorphism*
The moose likes JSP and the fly likes opening a jsp page in a new windows Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "opening a jsp page in a new windows" Watch "opening a jsp page in a new windows" New topic
Author

opening a jsp page in a new windows

Mohd Asim
Greenhorn

Joined: Jul 04, 2007
Posts: 24
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
Marshal

Joined: May 26, 2003
Posts: 30973
    
159

Mohd,
You can use target='_new' to open a page in a new window.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: opening a jsp page in a new windows