• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Leon Omk
Ranch Hand
Posts: 75
Chrome Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64717
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It'd be best to just consult the JSP Specification for the tag documentation.
 
Leon Omk
Ranch Hand
Posts: 75
Chrome Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • SIT_02 2011-11-10 17.29.47.gif
    [Thumbnail for SIT_02 2011-11-10 17.29.47.gif]
     
    • Post Reply
    • Bookmark Topic Watch Topic
    • New Topic