You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Tridev Kodamasingh <Tr...@cramer.com> on 2003/07/31 15:54:31 UTC

struts access to protected jsp

Hello everybody,

I want to access a jsp which is inside /web-inf/ directory.  I am using
tomcat4.1.18.

There is an entry inside the action maaping in  structs-config.xml as
following:-

<action   path="/cramerLoad"
               type="com.web..action.LoadPageAction">
    	<forward name="loadPage"
path="/Web-inf/homepage.jsp"/>
</action>

My basic idea to put jsp's under /web-inf/ is not to  allow the user to
access the jsp's directly.

Am I missing out something in the configurating struts ?
Is there anyway, struts can access this  jsp??

Any idea would be greatly appreciated.

cheers
Tridev




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