DispatchAction sounds like the right answer here, but remember that good
design generally dictates that the shorted a class is, the better.
Therefore, you most likely want to have your DispatchAction do not much
more than make use of some helper class to do the actual functionality.
Aside from ke
question:
Does this tip apply to the latest version of Struts? I'm using V1.2.4
and I notived this tip references the "perform()" method which as far
as I know is deprecated.
I implemented this as it recommends, setting parameter="dispatch" in
the ActionMapping, but the methods I've created (with
GREAT solution!!! Thank you both very much, and of course thanks to
Ted H as well!
-D
On 4/15/05, Rafael Taboada <[EMAIL PROTECTED]> wrote:
> Hi. U can use DispatchAction class to have different methods for each
> function u have in ur form.
>
> For different buttons, there is a possibility to u
Hi. U can use DispatchAction class to have different methods for each
function u have in ur form.
For different buttons, there is a possibility to use
LookupDispatchAction class. Don't forget to map the keys.
On 4/15/05, David Johnson <[EMAIL PROTECTED]> wrote:
> All
>
> I have a large page wi
In the past, I've used DispatchAction to accomplish this:
http://husted.com/struts/tips/002.html
I'm not sure if there is a newer/better way.
Dennis
David Johnson <[EMAIL PROTECTED]>
04/15/2005 09:37 AM
Please respond to
"Struts Users Mailing List"
To
Struts Users Mailing List
cc
Subject
5 matches
Mail list logo