File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

what are the valid values of simple tag(body-content)

 
Sami Sayeed
Ranch Hand
Posts: 39
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

Could anyone tell me what are the valid values for body-content in the tld file,

body-content[empty,scriptless,jsp]
is this correct casue when i mention jsp or JSP in the body-content for a simple tag .

I get an error as follows
org.apache.jasper.JasperException: /simpletag3.jsp(3,0) The TLD for the class com.test.SimpleTagHandler3 specifies an invalid body-content (JSP) for a SimpleTag.
 
Jayanthi Mani
Greenhorn
Posts: 25
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think this thread might answer your question:

http://www.coderanch.com/t/168333/java-Web-Component-SCWCD/certification/Valid-Values-body-content

JSP doesn't seem to be a valid value for 'body-content' in SimpleTag.


Thanks,
Jayanthi.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic