• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

MVC

 
priya shankar
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
In MVC for controllers ,servlets are preferable over JSP why?

priya
 
Bhushan Jawle
Ranch Hand
Posts: 252
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Sheriff
Posts: 3341
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm moving this to Servlets. Check for more responses there.
 
Malhar Barai
Author
Ranch Hand
Posts: 399
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Priya
Plz do a search on this forum, & you would find many answers to your query.
hth
MB
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic