Hi,

        I used the jakarta-struts-1.1-b2-blank.war as model for my
application.
        I would like to place all the JSP file under the sub-directory 
        CATALINA_HOME/Webapps/MyApp/Web-inf/jsp in order to force people

        to pass through the RequestProcessor where I test user
authentication.
        It is the unique solution, isn't it ?
        But I don't understand very well, the disadvantage "Putting the JSPs
below WEB-INF 
        make it harder to reference style       sheets ".

        So I modified the struts-config.xml file, and wrote

        <action path="/Welcome" 
                type="org.apache.struts.actions.ForwardAction" 
                parameter="/Web-inf/Jsp/Welcome.jsp" />

        but when I run my application I have the following error

        Unable to open location. Document not found on server.
        
        But the file Welcome.Jsp is available on
CATALINA_HOME/Webapps/MyApp/Web-inf/Jsp/Welcome.jsp.
        Is it an syntax error ?

        I used JBuilder, I can not see the Web-inf directory under the
WebApplication node I see
        all the directories under CATALINA_HOME/Webapps/MyApp except the
Web-inf directory.
        How is it possible ?

        thanks,
        

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to