File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
this week in the
Other Open Source APIs
Servlet re-direct to a new window
Joined: Sep 10, 2001
Sep 23, 2002 11:20:00
I have a
that submits a form to a
and I would like the servlet to open a new window to display its output. How do I accomplish such a thing?
Joined: Oct 12, 2001
Sep 23, 2002 11:37:00
You should put a target into the form tag like this:
<form name="some_name" action="some_action" method="post" target="_blank">
Regards, Rene Larsen
I agree. Here's the link:
subject: Servlet re-direct to a new window
Can I use RequestDispatcher to open a new browser window
A new Session in another browser window?
Making newWindow Scroll
Opening in a new window
how does the servlet knows that the client has closed the browser
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015