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
I haven't done this before, but try this:
1. Use the forwardPattern attribute of controller and give it the
same value you're giving pagePattern now.
2. Set up a custom ForwardAction. The existing ForwardAction sets
contextRelative which skips the use of forwardPattern. For your
custom
Hello again,
The main reason I wanted to use WEB-INF at first was to protect jsp/xml
but this would lead to module contents i two places, static content
(images etc) in /modulename and pages in WEB-INF/pages/modulename.
After trying some things I have decided, for now, to place each module
3 matches
Mail list logo