Hi!
If you only want your Action to forward to the jsp, and do
nothing else, use a ForwardAction like this:
<action path="/MyAction"
input="/path/file.jsp"
parameter="/path/file.jsp"
type="org.apache.struts.actions.ForwardAction" />
The parameter attribute defines the target of your
forward action, that is your jsp.
Greetings
Peter
---------------------------------------------------------------------
Hello,
I have one problem with forwarding my action.
In my action mapping is:
<action path="/MyAction" input="/path/file.jsp" ...>
<forward name="ok" path="/path/file.jsp"/>
</action>
and when I execute my action, then forwarding me to
localhost:8080/context/MyAction.do - not
localhost:8080/context/path/file.jsp (or
localhost:8080/context/path/MyAction.do)
How can I dissolve this?
Regards
--
Andy
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]