hi
you can use a single servlet-controller also for 70-80 JSPs
the servlet's task is to instantiate the proper Action class
the action class then determines which page to show next
br
marco
> -----Original Message-----
> From: EXT Phil Hedley [mailto:[EMAIL PROTECTED]]
> Sent: 07. November 2000 13:52
> To: [EMAIL PROTECTED]
> Subject: Re: Servlet Controller - a few questions
>
>
> From: Phil Hedley@MITEL on 11/07/2000 11:52 AM GMT
> I have seen this article before. But the example given could never be
> implemented on a large scale web application.....unless the
> servlet controller
> is one of many controllers.
> Each controller would process a defined function within the
> web application. An
> individual function may include a number of jsp pages and supporting
> servlets/beans.
>
> Is this how it is supposed to work ?
>
> Phil Hedley
>
>
>
>
>
> Santhosh Kumar <[EMAIL PROTECTED]> on 07/11/2000 10:30:50
>
> Please respond to A mailing list about Java Server Pages
> specification and
> reference <[EMAIL PROTECTED]>
>
> To: [EMAIL PROTECTED]
> cc: (bcc: Phil Hedley/Cal/Mitel)
>
> Subject: Re: Servlet Controller - a few questions
>
>
>
> Check out the article from Govind Sheshadri :
> http://www.javaworld.com/javaworld/jw-12-1999/jw-12-ssj-jspmvc.html
> Good though a li'l old.
>
> San..
> >
> > -----Original Message-----
> > From: Phil Hedley [SMTP:[EMAIL PROTECTED]]
> > Sent: Tuesday, November 07, 2000 3:25 PM
> > To: [EMAIL PROTECTED]
> > Subject: Servlet Controller - a few questions
> >
> > 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
===========================================================================
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
===========================================================================
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