You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2001/11/30 00:56:57 UTC

DO NOT REPLY [Bug 5189] New: - Tomcat does not recognize tag-class changes in .TLD file

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5189>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5189

Tomcat does not recognize tag-class changes in .TLD file

           Summary: Tomcat does not recognize tag-class changes in .TLD file
           Product: Tomcat 4
           Version: 4.0.1 Final
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: kevin@garnett.cc


I created a tag library and a JSP page to reference it. The .tld reference was 
something like this:
  <tag>
    <name>somename</name>
    <tag-class>com.SomeJavaTagClass</tag-class>
    ...etc...
  </tag>   
I brought up the JSP page and it worked fine. Then I changed the .tld entry as 
follows:
  <tag>
    <name>somename</name>
    <tag-class>com.SomeJavaTagClassThatDoesntExist</tag-class>
    ...etc...
  </tag>   
I shutdown and restarted Tomcat.
When I brought up the JSP page it still worked fine. That was unexpected to me.
If I then modify the JSP file and restart Tomcat, it will give a compile error 
as I expected it to do after the original .tld modification.

Is this expected behavior???

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>