You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Navjot Singh <na...@net4india.net> on 2004/05/13 13:36:11 UTC
action with context relative forward
Hi,
I have a module-based struts application. Assume, one of the modules is
"member".
Now, i need an <action path="/ShowMemberReg"
forward="/WEB-INF/jsp/member/reg.jsp"/>
when i type http://localhost/napp/member/ShowMemberReg.do (/napp is context)
it tries to forward to /member/WEB-INF/jsp/member/reg.jsp which is valid as
DTD says "this forward attribute is module-relative."
Now, what i wish to do is achieve my objective *declaratively*. I know i can
create an action tag with context-relative forward tag, specify some action
class. That action class can then call findForward()
But i don't wish to create these classes. Is there anything that can be done
with in struts-member.xml?
Or you can suggest some changes in how can i go about it?
---------------
regards
Navjot Singh
Net4India Ltd.
If there's only one answer, then this must not be a very interesting topic.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org