• 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
  • Paul Clapham
  • Tim Cooke
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Frank Carver
  • Henry Wong
  • Ron McLeod
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Himai Minh

body-content in tags

 
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hello everybody,

i think tags are the most confusing topic.I am very much confused about the valid values for body-content in the tags....so plz if anyone can tell me if i am correct. according to me

1)For Classical Custom Tags possible values are:empty,tagdependent,JSP(default)

2)For Simple Custom Tags possible values are:empty,tagdependent,scriptless.

3)For tag files(using tag directive) possible values for body-content are:empty,tagdependent,scriptless(default).

If the above is correct please let me know the default value in case of Simple Custom Tags.

Thanking in advance.
 
Ranch Hand
Posts: 517
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The possible body content values for simple tags,

scriptless(default)
tagdependent
empty


The possible body content values for classic tags,

JSP (Default)
tagdependent
empty.


Hope this will help you .

Thanks,
Vinod.
 
Ranch Hand
Posts: 951
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

Possible values for Custom tags : JSP, scriptless,empty,tagdependent
Possible values for Simple tags : scriptless,empty,tagdependent
Possible values for Tag files : scriptless (default) ,empty,tagdependent

No defuult for Custom and Simple tag. <body-content> is mandatary in tld for these tags as per JSP spec 2.0.

Thanks
 
He got surgery to replace his foot with a pig. He said it was because of this tiny ad:
Garden Master Course kickstarter
https://coderanch.com/t/754577/Garden-Master-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic