This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Servlets and the fly likes Redirect to another frame Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Redirect to another frame" Watch "Redirect to another frame" New topic
Author

Redirect to another frame

Graham Spice
Greenhorn

Joined: Nov 01, 2001
Posts: 5
Hi gang,
Does anyone know if it is possible to use the sendRedirect("...") method to specify a different frame in the browser.
Is it possible to redirect to a different frame???
Thanks,
Graham.
manav kher
Ranch Hand

Joined: Nov 21, 2000
Posts: 98
well i am not sure if i know the answer to your questions (though I and my coleagues have often wondered)
but if you are calling the first servlet from a frameset to begin with, well then you can redirect the output to a specific frame...something like this
<form method="get" action="/servlet" target="target_frame">
does it make any sense?
-manav
Graham Spice
Greenhorn

Joined: Nov 01, 2001
Posts: 5
Thank you so much,
I can't believe how dumb I can be sometimes. That solved my problem big time.
Thanks...
Graham.
 
wood burning stoves
 
subject: Redirect to another frame