Can someone give me a simple example of a servlet controller as stated in the
MVC model.
I've had a (very quick) look at the pet store example in the J2ee javasoft
blueprints which seems to be very complicated for what it is doing.
In my mind a controller is something that understands what should come next.
In the examples I have seen so far, the controller is given the name of the next
page it should forward the request to. It is the beans (business logic) that
determine what comes next. The controller servlet seems to be used as a gateway
to the jsp pages - is this for security ?
Would a web-application with hundreds of jsp pages have a sinlge servlet
controller ? or would there be a single servlet controller handling the pages
for each function of the web-application ?
Thanks,
Phil Hedley
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets