This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Default value for body-content

 
Jayashree Mohan
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is the Default value for body-content element of tag library descriptor? Is it JSP/scriptless? Am confused?

What is the default value for body-content for Simple and Custom Tag Handlers?
 
Kalpana Mahareddy
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi jayashree,

according to specs and whizlabs the default value for Simple tags is implementation dependent.
that means there is no default value defined for simple tags in JSP 2.0 version.
a reasonable value would be scriptless, but it's not really defined.

hope this helps...
 
Rodrigo Alvarez
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

that means there is no default value defined for simple tags in JSP 2.0 version.


That's right. The element <body-content>...</body-content> is mandatory in the <tag> element of the taglib, if it's not there the DD will not parse (so there's no need for a dfault value, it would never be used).


Cheers
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic