Meaningless Drivel is fun!*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Question about <body-content> tag value Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Question about <body-content> tag value" Watch "Question about <body-content> tag value" New topic
Author

Question about <body-content> tag value

Raghu Shapkota
Greenhorn

Joined: Dec 10, 2005
Posts: 9
Hi Guys,
Below is the question from enthuware about the <body-Content> tag.

Question:- Write the body value of <body-content> element for a tag that is supposed to be used with a body but the body is not interpreted by the tag handler.
Ans:- answer they provided is JSP or scriptless, but i think the answer should be tagdependent.

I am confused as to why it is JSP or Scriptless.

Thanks
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

If the body needed to be interpreted by the tag, you would set the body-content to "tagdependent". Setting it to "JSP" allows the container to interpret the content before passing it to the tag (the tag doesn't interpret it). "scriptless" tells the container that there is no script and that the content should be passed to the tag "as is" (the tag doesn't interpret it).


[My Blog]
All roads lead to JavaRanch
Raghu Shapkota
Greenhorn

Joined: Dec 10, 2005
Posts: 9
Christophe Verré wrote:If the body needed to be interpreted by the tag, you would set the body-content to "tagdependent". Setting it to "JSP" allows the container to interpret the content before passing it to the tag (the tag doesn't interpret it). "scriptless" tells the container that there is no script and that the content should be passed to the tag "as is" (the tag doesn't interpret it).


Thank you very much
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Question about <body-content> tag value