*
The moose likes JSP and the fly likes Default values for body-content element Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Default values for body-content element" Watch "Default values for body-content element" New topic
Author

Default values for body-content element

Vishnu Prakash
Ranch Hand

Joined: Nov 15, 2004
Posts: 1026


I couldn't find default values for the <body-content> element for all three

1. Tag Files
2. Simple Tags
3. Custome tags

in JSP 2.0 specs.

I like to confirm whether these are correct.


Servlet Spec 2.4/ Jsp Spec 2.0/ JSTL Spec 1.1 - JSTL Tag Documentation
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60782
    
  65

To tell you the truth, I have no idea what the defaults are (or even if there are defaults), as I think it'd be a bad idea to rely upon them. I always explicitly state what content the tag is expecting.

Additionally, if you auto-generate documentation from the TLD files (which I do, fastidiously using the <description> tags throughout the TLDs) omitting such information makes the docuementation much less useful.

If you do not auto-generate docs, being explicit within the TLD is even more important as it probably serves as the only documentation for your tags.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Default values for body-content element
 
Similar Threads
body content
body-content for tag files, classic and simple tags
Am I correct about body-content ???
allowable body-content values
body-content in tags