You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Mu...@aeso.ca on 2003/07/16 16:18:16 UTC

ForwarAction to JSPs under WEB-INF on iPlanet Web Server

I am trying to hide my tiles JSPs under WEB-INF on iPlanet Web Server 6.0,
and using ForwardAction to direct an action request to a tile definition. 

Here is my config:

tiles-defs.xml:

  <definition name="layout.default"
path="/WEB-INF/jsp/layouts/defaultlayout.jsp">
    <put name="title"  value="XXX" />
    <put name="body-content" value="/WEB-INF/jsp/common/body-content.jsp" />
  </definition>

struts-config.xml:

  <action-mappings>
    <action path="/home" type="org.apache.struts.actions.ForwardAction"
parameter="layout.default" />
  </action-mappings>


When I deploy the WAR file to Tomcat 4.1.24, it works like a charm.

But when I deploy my WAR file to iWS 6.0 and browse to /app1/home.do, the
following error appears in my iWS error log:

[15/Jul/2003:17:10:46] security (22285): for host 192.168.201.218 trying to
GET /app1/WEB-INF/jsp/layouts/defaultlayout.jsp, deny-existence reports:
denying existence of
/usr/iplanet/servers/web/docs/web-apps/app1/WEB-INF/jsp/layouts/defaultlayou
t.jsp
[15/Jul/2003:17:10:46] warning (22285): RequestDispatcher: forward call
failed
[15/Jul/2003:17:10:46] failure (22285): Internal error: servlet service
function had thrown ServletException (uri=/app1/home.do):
javax.servlet.ServletException: RequestDispatcher: forward call failed,
stack: javax.servlet.ServletException: RequestDispatcher: forward call
failed
        at
com.iplanet.server.http.servlet.NSRequestDispatcher.forward(NSRequestDispatc
her.java:58)
.....

It looks to me like the RequestDispatcher in iWS 6.0 isn't working properly.


Does anyone know of any workarounds to this? Or should I just accept iWS's
inadequacies and put all of my JSPs above WEB-INF?

TIA
Murray





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