Archive for the ‘Java EE’ Category

How to ban JSP scriptlet in JSF Facelet application.

Wednesday, September 9, 2009 14:08 1 Comment

Building JSF Scriplet-free Web Pages with Expression Language & JSTL

Scriptlets (embedded Java code in JSP) are considered to be hazardous from a maintenance standpoint. Especially in JSF development, they should be dumped. The JSP 2.0 specification allows developers to explicitly ban the use of scriptlets by making the following declaration in web.xml:

<jsp-config>
[...]

This was posted under category: Java EE Tags: ,