File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 REST with Spring (video course) this week in the Spring 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
Don't get me started about those stupid light bulbs.
subject: Front controller servlet question
It's not a secret anymore!