You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Sai Reddy <du...@gmail.com> on 2008/02/10 22:14:42 UTC

Can we forward to jsp files under /WEB-INF folder

Hi friends
I'm using Struts 1.2.7 and Tomcat 5.5.25 server. 
Can we forward a HttpRequest to the files under /WEB-INF folder? I've read
in "Struts Survival Guide" that we can do so with tomcat server but not with
other servers. Is that true?

I need the answer because I'm trying to move all my JSP files in /includes
folder to /WEB-INF/jsp for better security.

D.Sai Reddy
VNR VJIET.



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


[OT] Re: Can we forward to jsp files under /WEB-INF folder

Posted by Dave Newton <ne...@yahoo.com>.
--- Sai Reddy <du...@gmail.com> wrote:
> I'm using Struts 1.2.7 and Tomcat 5.5.25 server. 
> Can we forward a HttpRequest to the files under /WEB-INF folder? I've read
> in "Struts Survival Guide" that we can do so with tomcat server but not
> with other servers. Is that true?

I'm not actually familiar with every other server (there are a lot). IIRC the
spec says that the container should be able to forward to JSPs under WEB-INF;
some earlier servers (again, IIRC) didn't allow that.

You'd be better off asking on a forum more relevant to generic JEE questions
or for whatever server you're targeting, as this isn't really Struts-related.

Dave



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