tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karr, David" <david.k...@wamu.net>
Subject RE: Redirect from imported file
Date Mon, 19 Jan 2004 22:17:47 GMT
Whether it works or not, note that redirecting in JSP isn't really
considered a good idea.  You run a risk of having your initial buffer
already being flushed to the client, which would throw an exception
(InvalidStateException?). It's best to make redirection decisions in
your application logic, not in the view pages.

-----Original Message-----
From: Dima Gutzeit [mailto:dima@mailvision.net] 
Sent: Monday, January 19, 2004 4:30 AM
To: taglibs-user@jakarta.apache.org
Subject: Redirect from imported file


Dear list members,

I am expiriencing the following behaviour :

<c:redirect/> Tag does not work from within JSP file , that was imported
using <c:import/> or <jsp:include/>.

Instead of redirecting , the execution of JSP file continues after the
import statement.

Has anyone expierenced such thing ?



---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-user-help@jakarta.apache.org


Mime
View raw message