Hello,

I'm trying unsuccessfully, within an action-mapping, to forward to a UserQuery.JSP kept within the WEB-INF/pages folder of the web application. (I'm intentionally placing it there to prevent direct access of this jsp from the browser.)

I'm getting a Tomcat 5.0.28 error as follows:

"The requested resource (/myapp/WEB-INF/pages/UserQuery.jsp) is not available."

(I've confirmed that the file is there.)  My action mapping is as follows:

<action
    path="/login"
    input="/WEB-INF/pages/LoginForm.jsp"
    name="loginForm"
    type="com.xxxxx.myapp.struts.action.LoginAction"
    scope="request"
    validate="true">
<forward name="Failure" path="/WEB-INF/pages/LoginForm.jsp" redirect="true"/> <forward name="Success" path="/WEB-INF/pages/UserQuery.jsp" redirect="true"/>
</action>

I'm sure I'm making an obvious mistake here. Any enlightenment would be much appreciated.

Thanks,
Glen

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

Reply via email to