Manning's Countdown to 2014
. Use discount code crdotd14 all month for 50% off every deal.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
servlet is used as controller
Joined: Aug 29, 2007
Dec 21, 2007 22:22:00
is used as controller ?not
Joined: May 26, 2003
Dec 22, 2007 08:20:00
A JSP is for display purposes. In MVC, it shouldn't have any logic at all. Let alone control logic.
The servlet is responsible for the control logic. In Struts, it uses the XML file to gain this logic. It then redirects to the actions for the app specific logic.
How To Ask Questions The Smart Way
Blogging on Certs:
SCEA Part 1
Part 2 & 3
Core Spring 3
TOGAF part 1
It is sorta covered in the
JavaRanch Style Guide
subject: servlet is used as controller
Can Jsp dispatch request as Servlets
Connection Object pointing to Null
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013