Tuesday 12 June 2012

Jasper and JSP

Jasper is a JSP Engine of Tomcat. Jasper converts JSP files into servlet to compile them into Java Code. Jasper recompiles JSP files for every changes detects at run time.
Tomcat 5.x uses Jasper 2. Below are the important features added in Jasper 2:

1) Java Compiler for JDT (Java Development Tools): Eclipse JDT use into Jasper 2 instead of Ant and java.
2) On page changes JSP recompiled: At runtime pages can be inserted and included, also jasper will recompile page changes and included page changes.
3) Background compilation of JSP files: During the recompilation of JSP code older version of JSP code will also available for server request. After the finishing of new JSP servlet recompiling older JSP servelet will be deleted.

No comments:

Post a Comment