You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by ss...@edula.com on 2005/10/03 05:15:09 UTC

multiple modules/ forward prefix module name

Hello,

I need help with struts forward with contextRelative set to false. Whan
ran, the struts prefixes module name in front of the path before
forwarding to a jsp page.

struts-test.xml (test submodule)

<action path="/test" scope="request"
    type="com.test.common.BaseAction" validate="false">
    <forward name="success" path="/root/test.jsp" contextRelative="false" />
</action>

When /test.do is ran, the /test/root/test.jsp is accessed instead of
/root/test.jsp. With contextRelative set to "false", I am expecting the
file to be found in /root/test.jsp. The tiles definitions are correctly
resolved.

Thanks,
Scott

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