Monday, October 26, 2009

Disabling the use of scriptlets in jsp

The use of scriptlets in jsp can be restricted by making use of <jsp-config> element in web.xml

Refer the following for a sample on how to achieve this.. http://www.java-samples.com/showtutorial.php?tutorialid=548

This can allow best practices to be enforced more easily.

No comments: