my dog learned polymorphism
The moose likes Servlets and the fly likes Front controller servlet question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Groovy Fundamentals video training course this week in the Groovy forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Front controller servlet question" Watch "Front controller servlet question" New topic

Front controller servlet question

Tom Joiner
Ranch Hand

Joined: Sep 19, 2006
Posts: 47
I have been using regular jsp pages for numerous web pages, and am thinking of moving to the front-controller Model 2 (where servlets are used in conjunction with JSP).

My question now is- why not only use serlvets, and forego jsp altogether?

Ben Souther

Joined: Dec 11, 2004
Posts: 13410

Have you ever tried creating complicated HTML/Javascript pages by building up strings in a servlet?

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Consider Paul's rocket mass heater.
subject: Front controller servlet question