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
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
ASKER
If that is html page we can specify target as something...
but this is in servlet...how to specify the target...
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 ;-)
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
TARGET=_self
This will work.
Padma.