aspose file tools*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes what are the valid values of simple tag(body-content) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "what are the valid values of simple tag(body-content)" Watch "what are the valid values of simple tag(body-content)" New topic
Author

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

Sami Sayeed
Ranch Hand

Joined: Oct 05, 2004
Posts: 39
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

Joined: Dec 08, 2000
Posts: 25
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
 
subject: what are the valid values of simple tag(body-content)
 
Similar Threads
doubt in default in simple tags..
Custom Tag Doubt
Tag Handler Doubt
body-content default value question
body-content: tagdependent