Val SCJP <BR>going for SCJD
Val SCJP <BR>going for SCJD
United Health Group<BR>Hartford, CT, USA
Originally posted by Bharatesh H Kakamari:
There are quite many advantages of JSP over servlets.
1. Jsps have the ability of dynamic html generation.
2. As far as the performance is concerned both have the same performance. Even though when a jsp page is accessed for the first time, it takes some time for the jsp engine to compile this page to a servlet and then execute this servlet. THIS DISADVANTAGE HAS BEEN REMOVED BY PRECOMPILATION OF JSP PAGES SO THAT EVEN IF THE JSP PAGE IS ACCESSED FIRST TIME THE USER ALWAYS GETS A PRE-COMPILED PAGE.
3. The best advantage of Jsp over servlets is JSP technology separates content logic from business logic. The role of context developer is separated from component (business logic) developer. A web designer need not know java language to code servlets logic.
Peter den Haan | peterdenhaan.com | quantum computing specialist, Objectivity Ltd
Raghav.
Consider Paul's rocket mass heater. |