The moose likes Servlets and the fly likes Servlet re-direct to a new window Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Servlet re-direct to a new window" Watch "Servlet re-direct to a new window" New topic

Servlet re-direct to a new window

Anthony Smith
Ranch Hand

Joined: Sep 10, 2001
Posts: 285
I have a jsp that submits a form to a servlet and I would like the servlet to open a new window to display its output. How do I accomplish such a thing?
Rene Larsen
Ranch Hand

Joined: Oct 12, 2001
Posts: 1179

You should put a target into the form tag like this:


Regards, Rene Larsen
Dropbox Invite
I agree. Here's the link: http://aspose.com/file-tools
subject: Servlet re-direct to a new window
Similar Threads
how does the servlet knows that the client has closed the browser
Making newWindow Scroll
A new Session in another browser window?
Opening in a new window
Can I use RequestDispatcher to open a new browser window