I think this is a simple question. I have been developing an app using the
/do command line structure url. I have a form that is submitted to an
action. The action at the start checks to see if the "return" button is
pressed. If the "return" button is pressed the action class should forward
to another action that will initialize and populate a form in another view
and display that view. Something seems to be going wrong with my mappings or
it may be that it is not possible to forward to another action from within
an action class.

For example:

   -- return statement within an Action class called by a form submittal
   return mapping.findForward("return");

whereas the "return" forward is mapped to - "/admin/content/edit" within the
struts-config.xml.

Is this possible to do or can I only forward to a view from within an
action?

If this is not possible how can I forward back to an action that needs to be
initialized to populate a form after a submission check determines that a
forward is needed?

Thanks,
Brandon Goodin
Phase Web and Multimedia
P (406) 862-2245
F (406) 862-0354
[EMAIL PROTECTED]
http://www.phase.ws




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to