File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes jsp/servlets...usage in dynamic web content Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "jsp/servlets...usage in dynamic web content" Watch "jsp/servlets...usage in dynamic web content" New topic

jsp/servlets...usage in dynamic web content

sushant devata

Joined: Oct 19, 2002
Posts: 3
As JSP and Servlets have many features in common,
and both are used in serving dynamic web content.
My question is,when to opt which technology over the other???
If possible please suggest with one example???
Malhar Barai
Ranch Hand

Joined: Aug 17, 2001
Posts: 399
hi sushant
this question has been replied many a times on this forum..still...
in short..use JSP's only for presentation, all the logic should be in the servlets.
dig a bit on this forum & you'll get comprehensive info on this topic else get back to me...
Result 1 & many more like this exist..

Malhar Barai
SOA & Java Book
I agree. Here's the link:
subject: jsp/servlets...usage in dynamic web content
It's not a secret anymore!