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 Tags 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 "Tags" Watch "Tags" New topic


nikitha aedma

Joined: Nov 17, 2005
Posts: 6

Can anyone tell me the default <body-content> for tags if nothing is mentioned in the TLD.
I know it is scriptless for tagfiles.

Narendra Dhande
Ranch Hand

Joined: Dec 04, 2004
Posts: 951

For the old custom tags it is JSP. For Simple tags assummed scriptless.


Narendra Dhande
SCJP 1.4,SCWCD 1.4, SCBCD 5.0, SCDJWS 5.0, SCEA 5.0
Sub swamy
Ranch Hand

Joined: Oct 02, 2002
Posts: 121
Do classic tags have a default value ? Thought we need to specify them explicitly.
Alexander Kolesnikov
Ranch Hand

Joined: Feb 26, 2005
Posts: 99
Yes, the default for classic tags is JSP, check it in specs.

Alexander Kolesnikov<br />Java Web Developer<br />SCJP 1.4, SCWCD 1.4, SCBCD 1.3<br /><a href="" target="_blank" rel="nofollow">Tapestry 5: Building Web Applications</a><br /><a href="" target="_blank" rel="nofollow">Java Drawing With Apache Batik</a>
agrah upadhyay
Ranch Hand

Joined: Sep 01, 2005
Posts: 579
What is the reason for this difference-?
I agree. Here's the link:
subject: Tags
It's not a secret anymore!