File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes default value of body-content tag Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "default value of body-content tag" Watch "default value of body-content tag" New topic

default value of body-content tag

Abhishek Sharma
Ranch Hand

Joined: Jan 09, 2006
Posts: 68
Hi ranchers,

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
Anupama Ponnapalli
Ranch Hand

Joined: Jun 12, 2006
Posts: 66
Simple tags cannot have body-content "JSP".

Boobalan Jegathesan

Joined: Jan 08, 2007
Posts: 17

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...

Thanks<br />Boobalan.(SCJP1.4)
Ali Gohar
Ranch Hand

Joined: Mar 18, 2004
Posts: 572
For classic there is no default value. <body-content> is mandatory in classic tags
Consider Paul's rocket mass heater.
subject: default value of body-content tag
It's not a secret anymore!