aspose file tools*
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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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
Author

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

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

Cheers,
Anu
Boobalan Jegathesan
Greenhorn

Joined: Jan 08, 2007
Posts: 17
Hi,

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: default value of body-content tag
 
Similar Threads
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