Register / Login
this forum made possible by our volunteer staff, including ...
Roel De Nijs
Stephan van Hulst
How to Put JSP under WEB-INF
posted 11 years ago
I am placing JSPs under WEB-INF and is using modules in
. The advice I got is to use this forward value:
<forward name=... path="/myview.jsp" />
i.e. without bothering the "/WEB-INF/module" prefix. At the same time, we
just let struts automatically insert this prefix by setting:
However, once I made this change, how could I forward from 1 action to another action? e.g.
<forward name=... path="/actionB.do"
The above is problematic because the forward path would be replaced by /WEB-INF/module/actionB.do according to the forwardPattern I set previously.
Don't get me started about those stupid
Boost this thread!
How to share actions and JSP's among sub applications?
Using ActionMapping to open a https page
SwtichAction and forwardPattern attribute
Spring MVC behaviour for Struts
Hide Module JSP pages under WEB-INF