tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Souther <bsout...@fwdco.com>
Subject Re: when to use <%@include%> when to use <jsp:include>
Date Wed, 08 Dec 2004 00:32:34 GMT
> 1/ name your JSP fragments something other than ".jsp" (".jspf" is the
> unofficial standard) such that they aren't picked up by a precompiler

If you do this, I would recommend that you do something to keep your
source from being viewed by a browser.  This can be done with a mapping,
or filter that returns a 404 status code for any requests ending in
".jspf" or by keeping your includes under WEB-INF where nosy browsers
can't go.


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


Mime
View raw message