File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes Servlets Vs JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Servlets Vs JSP" Watch "Servlets Vs JSP" New topic

Servlets Vs JSP

Sree Nivas
Ranch Hand

Joined: Jul 24, 2003
Posts: 95
Hi All,
Recently I faced an interview on J2EE and they asked me the following question.
What Servlets can do and JSP cannot or JSP can do and Servlets cannot. I couldn't answer this. Can some body tell the valid answer for this.
David O'Meara

Joined: Mar 06, 2001
Posts: 13459

this gets asked more than once a week, you should try searching this forum and the JSP forum first.
I agree. Here's the link:
subject: Servlets Vs JSP
jQuery in Action, 3rd edition