0 Replies Latest reply on Feb 7, 2005 7:37 PM by bbyron

    TLD file validation

    bbyron Newbie

      I use both JBoss and Weblogic. One difference between the two that catches me occasionally is TLD file validation. If I create a TLD file with a tag defintion that has an attribute like the following:


      If the class MyCustomTag does not have the getters and setters for myattribute (i.e. no setMyattribute/getMyattribute methods), in Weblogic an error is displayed upon processing of a JSP importing the TLD file regardless of whether the attribute is ever used. In JBoss, an error is only generated when the tag is called with the attribute having been used.

      Is there a way to force JBoss to validate the TLD more strictly? I want to make sure the class has the necessary methods as defined by the TLD.