tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Serge Knystautas <ser...@lokitech.com>
Subject Re: Redirect from imported file
Date Tue, 20 Jan 2004 00:14:40 GMT
Dima Gutzeit wrote:
> <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.

You can check the servlet API to see that when you do an include, the 
included page/servlet is not allowed to modify headers or response code. 
  This means you can't redirect from within an include.

-- 
Serge Knystautas
President
Lokitech >>> software . strategy . design >> http://www.lokitech.com
p. 301.656.5501
e. sergek@lokitech.com

---------------------------------------------------------------------
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