A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
EJB 3 in Action
this week in the
EJB and other Java EE Technologies
Web Component Certification (SCWCD/OCPJWCD)
default value of body-content tag
Joined: Jan 09, 2006
Feb 16, 2007 03:01:00
I have some confusion on the default value of body-content tag in following cases
1) Tag files (empty,scriptless,tagdependent)
2) Simple Tags (empty,scriptless,tagdependent,jsp)
3) Custom Tags (empty,scriptless,tagdependent,jsp)
i have written all the possible values of this tag in various cases (as per my knowledge please correct me if i am wrong).
what will the default values in these scenarios.
Thanks in advance
Joined: Jun 12, 2006
Feb 20, 2007 12:08:00
Simple tags cannot have body-content "JSP".
Joined: Jan 08, 2007
Feb 22, 2007 03:14:00
Scriptless is the default value of Body-Content for both Simple and tag file model.Both never accepts direct Java stuff and sciptlets.
for classic I think empty but I am not sure.Anyone please do clarify this doubt...
Joined: Mar 18, 2004
Feb 22, 2007 04:44:00
For classic there is no default value. <body-content> is mandatory in classic tags
I agree. Here's the link:
subject: default value of body-content tag
allowable body-content values
body-content in tags
question about <body-content>
Need clarification on Ch. 10 mock question 17.
Default values for body-content element
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014