jQuery in Action, 2nd edition*
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 Murach's Java Servlets and JSP this week in the Servlets 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..
I agree. Here's the link: http://aspose.com/file-tools
subject: Redirecting servlet to another frame
Similar Threads
newbie question: how to have htm page call servlet, but not leave page?
HTML/JavaScript Issue
Response.sendRedirect() to top page?
accessing frame contents
How to show Modelless Frame