This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I have been asked in an interview ,that, what is the difference between a plain servlet and a Jsp traslated servlet?
In another words, what a plain servlet can do that a jsp translated servlet can not...?
My thought on this qn is:
1. The jsp translated servlet can not use/specify doXXX() methods(may override using jsp declarations. but cannot use).
JSP are designed and optimized to create HTML - optimization includes implicit objects, EL, etc etc - all for HTML - ie text.
Servlets can handle the complete set of HTTP methods and serve any kind of resource.
Joined: Jun 02, 2010
He must be testing my confidence on Servlets and JSP... Confidence is the BIG thing that matters in an interview.
My thoughts was somewhat correct .But I didn't speak a word....