File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes servlet controller Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "servlet controller" Watch "servlet controller" New topic

servlet controller

linta sebastian

Joined: Dec 07, 2006
Posts: 11
can we use multiple servlet controller in mvc architecture
Deepak Bala

Joined: Feb 24, 2006
Posts: 6657

What do you mean by multiple servlet controllers ?

SCJP 6 articles - SCJP 5/6 mock exams - More SCJP Mocks
Prabhu Venkatachalam
Ranch Hand

Joined: Nov 16, 2005
Posts: 502

In your case, Have a Single Servlet which is entry point to the appilcation and Have a Mutiple Delegates and do whatever you want to do with the mutiple controller.

Make Entry Point servlet to delegate call to those delegates.

This still adhere to the MVC pattern.

Prabhu Venkatachalam<br />SCJP 1.4,SCWCD 1.4<br />
linta sebastian

Joined: Dec 07, 2006
Posts: 11
I agree. Here's the link:
subject: servlet controller
Similar Threads
One or many class diagrams???
MVC implementation (JSP or Class)
servlet is used as controller
why do we need Application Controller?