I'm not sure I understand what you want to do. In the example you gave, it
looks like all three actions could come up with different JSP pages to
display. Who decides what really gets sent back to the client?

You can certainly chain actions, by specifying an action instead of a JSP
page in your forwards, like this:

    <forward name="success" path="nextAction.do" />

--
Martin Cooper


----- Original Message -----
From: "Hakan Forss" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, September 23, 2001 12:55 PM
Subject: More than one action for a request


> Hi,
> I am new to Stuts and would like to do the following:
> 1. request comes in and is passed to an action
> 2. action performs its logic and decides what jsp to display
> 4. second action performs its logic and decides what jsp to display
> 5. third action performs its logic and decides what jsp to display
> and so on..
>
> I don't want the jsp pages to pass back the control to the servlet. The
> process chain should be defined by the actions or in the struts-config
file.
>
> Can this be done?
>
>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
>


Reply via email to