*
The moose likes JSP and the fly likes Where is .tld file for <jsp:xxx> in tomcat? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Where is .tld file for <jsp:xxx> in tomcat?" Watch "Where is .tld file for <jsp:xxx> in tomcat?" New topic
Author

Where is .tld file for <jsp:xxx> in tomcat?

Leon Omk
Ranch Hand

Joined: Aug 17, 2010
Posts: 75

Servlet.service() for servlet [ServletOne] in context with path [/WebTutorial] threw exception [/pages/ViewOne.jsp (line: 49, column: 0) According to TLD, tag jsp:setProperty must be empty, but is not] with root cause
org.apache.jasper.JasperException: /pages/ViewOne.jsp (line: 49, column: 0) According to TLD, tag jsp:setProperty must be empty, but is not


I got some error from Tomcat 7.x. It says "According to TLD", but I can't find TLD. Anyone can help?


OK, so that other guy knows Java better than I do, but I bet he can't speak Wuhanese(a Chinese Dialect) like me.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60810
    
  65

It'd be best to just consult the JSP Specification for the tag documentation.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Leon Omk
Ranch Hand

Joined: Aug 17, 2010
Posts: 75

Can't find tld. But I found the schema used to validate JSP syntax.

In jsp-api.jar in Tomcat 7.x.

Under folder:
javax.servlet.jsp.resources
  • jsp_2_2.xsd
  • jspxml.xsd
  • web-jsptaglibrary_2_1.xsd


  • [Thumbnail for SIT_02 2011-11-10 17.29.47.gif]

     
    I agree. Here's the link: http://aspose.com/file-tools
     
    subject: Where is .tld file for <jsp:xxx> in tomcat?
     
    Similar Threads
    Empty tag - doStartTag rturn value - API?
    in which we get these exception
    Jstl / Custom Tag Combination
    HFSJ Page No.501 - TagFiles
    Problem with <jsp:usebean tag>