Hello, We are currently refactoring our Web applications into one application using Struts modules so that we can share common resources more easily between the different modules.

Now to the problem, we are currently placing all our jsps in /WEB-INF/pages/ but when introducing modules I get 404 for this action:

<action path="/test" forward="/WEB-INF/pages/test/error.jsp" />

Tomcat searches /test/WEB-INF/pages/test/error.jsp

I've read that this behaviour can be overwritten with:
<controller processorClass="org.apache.struts.tiles.TilesRequestProcessor" pagePattern="/WEB-INF/pages/$M$P" />


But no result.

How can this be solved? do I have to place content for each module in /modulename/...

and what does this do to content that we wish to share, for example tile definitions that are now in /WEB-INF/tiles/ ?

/Andreas



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



Reply via email to