This is about a question in Chapter 10 of HFSJ. The question goes like this.
Given a tag, SimpleTag, whose handler is implemented using the Simple tag model and a tag, ComplexTag, whose handler is implemented using the Classic tag model. Both tags are declared to be non-emply in the TLD.
Which JSP code snippets are valid uses of these tag?
And the correct option is ambiguous. The book says, Option A is correct.
A. <my:simpleTag> <my:complexTag/> </my:simpleTag>
How can this be correct..?? Simple tag has a body... but what about complex tag.?? According to TLD it should also have the body.