Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Murach's Java Servlets and JSP
this week in the
Web Component Certification (SCWCD/OCPJWCD)
body-content default value
Joined: Mar 12, 2005
Apr 26, 2005 23:40:00
if the tag is Not a simpleTag, it should have four possible values:
, which one is the default value if <body-content> is not present?
Joined: Jun 27, 2003
Apr 27, 2005 00:57:00
Please refer the JSP spec section 8.5
"body-content (optional) Provides information on the content of the body of
this tag. Can be either empty, tagdependent, or scriptless. A
translation error will result if JSP or any other value is used.
Defaults to scriptless."
Joined: Feb 13, 2005
Apr 27, 2005 01:07:00
So,Kejal you mean to say irrespective of the type of tag handler...simple or classic the default is scriptless ?
With Regards,<br />Kumar J
Joined: Mar 03, 2005
Apr 27, 2005 11:58:00
Shan said it is NOT a SimleTag so value JSP is also valid. I guess it defaults to JSP in this case.
Joined: Apr 29, 2004
Apr 28, 2005 05:58:00
if it is NOT a SimleTag so default value "JSP"!
if it is a SimleTag so value "JSP" is illegal!
Impossible Is Nothing!
I agree. Here's the link:
subject: body-content default value
default value of body-content tag
is body-content mandatory in jsp 2.0
body-content in tag
doubt in mock regarding body-ontext
taglib descriptor doubt
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014