· It is easy to embed in your Java applications.
· It avoids the compilation cycle overhead that JSP imposes. If you make a change in your template code, you will see its effect immediately on reloading the page, without having to compile to a Java class.
· It is compact and fast. Its implementation is just a handful of classes.
· It can be used not just in web applications but in any context where template expansion is needed. For example, you could use it for sending template-based mass emails from your application. It does not require servlets or other JSDK components.
What is special about JSTL?
· JSTL implements the idea of “doing just one thing and doing it well.” To that end, JSTL offers only template expansion with no frills. It does not, for example, provide any framework for web programming.
· The code uses Java generics for type safety, so you will require Java 1.5 or better to compile it. But you can use the jar files with older versions of Java.