target="_blank" not working........plz help me..
843833Oct 11 2001 — edited Oct 11 2001My requirement is to open a new (child) window when the user pushes
a button on a (parent) window. I need to create a new instance
of a bean, populate it, and then pass it to the child window for
display.
i tried this way
To open JSP in new window just use target directive e.g.:
<form action=myjsp.jsp method=post target=_blank>
...
its not working...
One additional question if I may:
I don't want to open a new window for every action a user could
take on the screen. Sometimes, I just want to post to the
servlet and forward the jsp to the one window that is open.
If I put the TARGET directive in, wouldn't I always open a new
window?
Is this still the best way to do this given this additional
requirement? If yes, how do I alter it so that I don't always
go to a new window?
Thanks!!!!!!