struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sse...@edula.com
Subject multiple modules/ forward prefix module name
Date Mon, 03 Oct 2005 03:15:09 GMT
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


Mime
View raw message