struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Husted" <>
Subject Re: Modularized app and hiding JSPs
Date Mon, 24 Apr 2006 02:26:55 GMT
Yes, it's easy. The configuration point you need is pagePattern


You would probably want to use something like

<controller pagePattern="/WEB-INF/jsp/$M$P" />

so that the locations resolve to /WEB-INF/jsp/search/


On 4/21/06, Alan Treece <> wrote:
> Maybe this is simple, but then again may it's not... I've got a
> Struts app that I'm breaking up onto modules so that I can keep the
> configs seperate. The JSP files are already seperated out into
> different directories, but what I want to do is hide all of them in
> the WEB-INF directory. I know that I need to add WEB-INF that to the
> path so that the framework can find the JSP's, but this doesn't seem
> to play well with the modules..
> If I activate an action in one of the modules... like /search/
> then the framework looks for the jsp in /search/WEB-
> INF/jsp/... I can do a hack and create a search directory and then
> link /search/WEB-INF back to the "real" WEB-INF directory, but I'd
> rather not. Am I missing a configuration option that will eliminate
> this problem?
> Thanks, ajTreece

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message