Forums Register Login

MockExam doubt

+Pie Number of slices to send: Send
Question Bank ID : 47 Section 11 - Designing and Developing JSP pages Using Custom Tags
The following is an entry in JSTL's Core tags descriptor.
Select the true statements about this tag.

<tag>
<description>
Catches any Throwable that occurs in its body and optionally
exposes it.
</description>
<name>catch</name>
<tag-class>org.apache.taglibs.standard.tag.common.core.CatchTag</tag-class>
<body-content>JSP</body-content>
<attribute>
<name>var</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
</tag>

Is an example of a nested tag???
here the <body-content> is JSP so I think it can be Nested.
please correct me If I am wrong

another choice is
The attribute "name" cannot use a JSP runtime expression.
There is no attribute named name
only <name> tag inside the <attribute> tag!!!
but still that choice can be correct.....
+Pie Number of slices to send: Send
 

Is an example of a nested tag???


It's a tag which can contain other tags. I would not call it a nested tag though.

There is no attribute named name


Thank you. I'll check all answers to this question.
[ December 27, 2007: Message edited by: Christophe Verre ]
+Pie Number of slices to send: Send
ok I got it.Thanks a lot Christophe Verre
+Pie Number of slices to send: Send
I have corrected it. Thank you for for pointing this out.
I wish to win the lottery. I wish for a lovely piece of pie. And I wish for a tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 605 times.
Similar Threads
Question on Custom tags
body-content
mandatory attributes for c:forEach
Mock quesion on taghandlers
True Statement about Tag
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 19, 2024 02:14:24.