This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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..
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
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