aspose file tools
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

Win a copy of Groovy Fundamentals video training course this week in the Groovy forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Redirecting servlet to another frame" Watch "Redirecting servlet to another frame" New topic

Redirecting servlet to another frame

Allan Stengaard

Joined: Aug 07, 2001
Posts: 1
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

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..
wood burning stoves
subject: Redirecting servlet to another frame