Link to home
Start Free TrialLog in
Avatar of maluri
maluri

asked on

Redirecting one servlet into a Frame

Hi,

I got one problem... after checking some conditions i need to call another html page which is possible through res.sendRedirect(URL) method.
calling html is in one frame...i need to call the new html into the same frame...(these htmls are actually servlets).
But when i call i am loosing other frames ....is there any way to do this in servlets....

Thanks in Advance
maluri
Avatar of vpadma
vpadma

You can set the target attribute to self.
TARGET=_self
This will work.

Padma.
Avatar of maluri

ASKER

If that is html page we can specify target as something...
but this is in servlet...how to specify the target...
In the submiting servlet aslo u can set the target.
if you want the response in the same frame ,just give target of that form aobject as _self.
this is possible in servlets also ;-)
ASKER CERTIFIED SOLUTION
Avatar of vpadma
vpadma

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial