> > 1. A command is the composite of zero or one controller and > one or more > views. It centainly is used.
Thanks, I thought I saw it in use a while back when I ran Mav through a debugger but the Javadocs had confused me. So why is it Controllers that we build our applications to (by extending one of the four Controller implementing classes like FormBeanUser) yet it is Commands that get created by the Dispatcher? > 2. ControllerWithParams is a decorator that wraps an > implementation of a > controller and it's parameters. So, if a controller has parameter, the > decorator is used internally to be able to pass the parameters to the > controller. By parameter I assume you are referring to a parameter defined in the web.xml file? > > Eelco > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of > Thompson, Kris > Sent: maandag 23 juni 2003 16:23 > To: [EMAIL PROTECTED] > Subject: [Mav-user] Commands vs. Controllers > > > What is the deal with the Command interface, it doesn't > appear to be used > in the src code... according to the Javadocs at least? Is > this some old > code that is just laying around or is it part of some future plan? > Next question, what is the purpose or use of the ControllerWithParams > Controller? > Thanks > Kris Thompson > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: INetU > Attention Web Developers & Consultants: Become An INetU > Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly > Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > [INVALID FOOTER] > ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php [INVALID FOOTER]
