aspose 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
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: 14688
    
  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: 61648
    
  67

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: 14688
    
  16

Why use a wrench when a screwdriver works better?

I wish I knew poetry
 
 
subject: use of servlets over jsp's