wood burning stoves 2.0*
The moose likes Servlets and the fly likes Redirecting servlet to another frame Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Redirecting servlet to another frame" Watch "Redirecting servlet to another frame" New topic
Author

Redirecting servlet to another frame

Allan Stengaard
Greenhorn

Joined: Aug 07, 2001
Posts: 1
Hi!
I am calling a servlet from a form in one frame, and I would like the result of the servlet to be shown in another frame
How can i do that?
Thanks in advance!
Jayant Shirkhedkar
Greenhorn

Joined: Aug 08, 2001
Posts: 2
Hi Allen,
u can try using the "target" attribute of either the href or the form tag that u are using to call the servlet.
Also in the servlet while using the RequestDispatcher, forward the request to the new JSP that u wish to load in the new frame...
hope this helps..
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Redirecting servlet to another frame