It is possible to apply somethig like target="_top" to forward. I want to use forward to open a window, in a window with frames, I want to destroy frames and fill the whole window with the new one. Thanks. Osse.
posted 14 years ago
It is the browser, not the server, which controls the creation of frames. The server doesn't know anything about them. All it does is respond to individual HTTP requests for pages and return them to the client that requested them. If you want JSP output to appear in a frame, you need to have the URL that the client clicks specify a frame target. Remember that forward() is entirely a server-side operation; the browser is unaware of it.
Phil Hanna<BR>Sun Certified Programmer for the Java 2 Platform<BR>Author of :<BR><A HREF="http://www.amazon.com/exec/obidos/ASIN/0072127686/electricporkchop/107-3548162-1137317" TARGET=_blank rel="nofollow">JSP: The Complete Reference</A><BR><A HREF="http://www.amazon.com/exec/obidos/ASIN/0072124253/electricporkchop/107-3548162-1137317" TARGET=_blank rel="nofollow">Instant Java Servlets</A>