• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think this thread might answer your question:

https://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.
 
The government thinks you are too stupid to make your own lightbulb choices. But this tiny ad thinks you are smart:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic