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/)
- Minimizing Action class proliferation DONNIE HALE
- Re: Minimizing Action class proliferation Martin Cooper
- RE: Minimizing Action class proliferation Hines, Bill
- RE: Minimizing Action class proliferation DONNIE HALE
- RE: Minimizing Action class proliferation Hardee, Tony
- RE: Minimizing Action class proliferation Dan Cancro
- RE: Minimizing Action class proliferation Niall Pemberton
- Re: Minimizing Action class proliferation Elod Horvath
- Re: Minimizing Action class proliferation Jens Rehpöhler
- RE: Minimizing Action class proliferation DONNIE HALE
- Re: Minimizing Action class proliferation Richard Reich
- RE: Minimizing Action class proliferation Jeff Schnitzer
- RE: Minimizing Action class proliferation DONNIE HALE
- RE: Minimizing Action class proliferation Jeff Schnitzer
- RE: Minimizing Action class proliferation nic.hobbs
- RE: Minimizing Action class proliferation DONNIE HALE
- RE: Minimizing Action class proliferation Cook, Levi
- RE: Minimizing Action class proliferation DONNIE HALE