Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

target="_blank" not working........plz help me..

843833Oct 11 2001 — edited Oct 11 2001
My 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!!!!!!

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 8 2001
Added on Oct 11 2001
3 comments
248 views