Niall Pemberton wrote:
> 
> Donnie,
> 
> How about this as an alternative. I have created a subclass of Action called
> StandardAction which uses reflection to invoke a method with the same name
> as the "actions" path (defined in the struts-config.xml file). So all you
> have to do is extend the Standard action and implement methods that
> correspond to the paths that use it.
> 
> For example if you define three actions in your struts-config.xml file of
> /saveOrder, /editOrder and /deleteOrder that all use a class OrderAction
> which extends StandardAction and then create a OrderAction class as shown
> below:
> 
> I hope this is of use.
> 
> Niall
> <CODE SNIPPED>

now, this is an intriguing idea...i like...thank you.  :)

e

-- 
_______________________________________________________________________
Elod Horvath ('e')       /      ITFAIS Records (http://www.itfais.com/)

Reply via email to