This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
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

Win a copy of REST with Spring (video course) this week in the Spring forum!
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
jQuery in Action, 3rd edition