Given the following entry in the tld
<tag>
<name>Quiz</name>
<tagclass>com.examulator.Quiz</tagclass>
<body-content>tagdependent</body-content>
</tag>
Which of the following is a valid use of the tag within a jsp page assuming that q has been set up as a valid prefix?
1)
<q:quiz topic="java"></q:quiz>
2)
<q:quiz>select * from questions <q:quiz/>
3)
<q:quiz/>
4)
<q:quiz></q:quiz>
5)-
<q:quiz>select * from questions </q:quiz>
Choose at least one answer.
a. 1 Incorrect
b. 2 Incorrect
c. 3 Correct
d. 4 Correct
e. 5 Correct
The is a typical example of using a tag declared with a body as tagdependent.
-this example is from Marcus Green mock exams. I don't understand the output. Why empty tag is allowed in a tagdependent. Can anyone please explain?
<tag>
<name>Quiz</name>
<tagclass>com.examulator.Quiz</tagclass>
<body-content>tagdependent</body-content>
</tag>
Which of the following is a valid use of the tag within a jsp page assuming that q has been set up as a valid prefix?
1)
<q:quiz topic="java"></q:quiz>
2)
<q:quiz>select * from questions <q:quiz/>
3)
<q:quiz/>
4)
<q:quiz></q:quiz>
5)-
<q:quiz>select * from questions </q:quiz>
Choose at least one answer.
a. 1 Incorrect
b. 2 Incorrect
c. 3 Correct
d. 4 Correct
e. 5 Correct
The is a typical example of using a tag declared with a body as tagdependent.
-this example is from Marcus Green mock exams. I don't understand the output. Why empty tag is allowed in a tagdependent. Can anyone please explain?