Whiz labs. Q: You want the body content of the tag will not vbe interpreted by JSP engine rather than the tag itself.What should be the value of the <body-content> tag to accomplish this?
Answer: I don't know that the answer is because this is a fill in the blanks kind of question. Now since <body-content>can accept empty,JSP,tagdependent and scriptless. I know tagdependent means that the tag body can accepet only plain text and that EL, standard or custom Actions will not be evaluated and they will treated as plain text. Further since the option tagdependent means some thing dependent on tag [which i dont understand ], Can any body explain a) why this terminology was used, "tagdependent" b) What is the answer of the question.
SCJP, SCWCD, SCBCD
posted 8 years ago
The answer is tagdependent. By setting body-content to tagdependent, JSP engine will ignore the body content and leave it to the tag handler to process.