File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes MVC Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "MVC" Watch "MVC" New topic


priya shankar

Joined: May 12, 2003
Posts: 21
In MVC for controllers ,servlets are preferable over JSP why?

Bhushan Jawle
Ranch Hand

Joined: Nov 22, 2001
Posts: 249
In MVC, controllers are supposed to 'control' the flow etc. and are typically not involved in displaying anything on the screen like edit box etc.
So there is no reason to code this part in JSP. Main intention in using JSP would be dynamic content generation which is where it should be used.
Carl Trusiak

Joined: Jun 13, 2000
Posts: 3340
I'm moving this to Servlets. Check for more responses there.
Malhar Barai
Ranch Hand

Joined: Aug 17, 2001
Posts: 399
Hi Priya
Plz do a search on this forum, & you would find many answers to your query.
I agree. Here's the link:
subject: MVC
It's not a secret anymore!