aspose file tools*
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 Spring in Action this week in the Spring 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: 14688
    
  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
 
 
subject: Question about <body-content> tag value