Hey Otis,

> Multiple but identical pages, is what you
> are saying?
> If that is so, then I am doing something
> wrong, and that is probably that I am
> forcing the use of DispatchAction when I
> should really be using 2 distinct Action
> classes instead.

No, you don't multiple identical pages. There should be no need for that.
The page should dynamically decide which method in the dispatch to call by
setting a value for the parameter name defined by the "parameter" attribute
in the action config in the struts-config.xml.
For example, I have the following action:

<action path="/part_edit_save" type="PartEditSaveAction" name="partListForm"
scope="request" input="/MainMenu.jsp" parameter="op_type">

So I set the parameter called "op_type" to be the name of the action method
that should process the form.
So if op_type = save then the save method is called.




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

Reply via email to