Win a copy of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications this week in the Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Is it possible to modify JSTL libraries  RSS feed

 
Mike lothar
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
Is it possible to modify JSTL libraries behavior - i mean to say that
<c:set var="Key" value="Hello" /> can be modified to add new attributes.

Thank you
Mike
 
Paul Croarkin
Ranch Hand
Posts: 106
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As long as the tag handler class is not final, you could extend the class and create your own tag library (including TLD) that points to your extended class.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!