Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

MVC Architecture, using jsp page as the Controller

 
Brusk Baran
Ranch Hand
Posts: 132
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
is it and if yes under which conditions is it advisable to use a jsp as the controller? with some parameters. =ctrller.jsp?p1=v1&p2=v2 etc.
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would say it never makes sense to code a jsp as a controller.
A JSP is nothing else then a servlet. It is just easier to write HTML code there. The container transforms the JSP to a servlet before compiling it.
So normally if you code logic simply use Servlets.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!