File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes use of servlets over jsp's Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "use of servlets over jsp Watch "use of servlets over jsp New topic
Author

use of servlets over jsp's

raghuram bikkani
Greenhorn

Joined: Jan 18, 2006
Posts: 16
what is the use of servlets when jsp's are already there
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

Have a look at the design pattern called MVC.
Do you want to put all the logic in a JSP file ?
Good luck then.


[My Blog]
All roads lead to JavaRanch
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61106
    
  66

Why use a wrench when a screwdriver works better?

Each mechanisms has uses for which they are best suited, and the most accepted patterns for web applications use both JSPs and servlets to their best advantages.

For more details google for the term "model 2" with regard to web application structure and design.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

Why use a wrench when a screwdriver works better?

I wish I knew poetry
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: use of servlets over jsp's