The advanced condition tag family false scope false false index false true property false false test book.conditions.TestTag book.conditions.TestTagExtraInfo JSP Pose a condition on the reference object. condition true false As seen in the TLD, both tags are marked as having JSP contents, which tells the JSP environment to evaluate the body. As for tag attributes, the WithTag entry inherits most of its attributes from ReflectionTag and adds just a single new multichoice attribute, instructing the tag as to the condition evaluation policy that is desired. TestTag, on the other hand, is less complex with only a single tag attribute that specifies the condition string. 9.3.4 Our tag library in action We can now take a look at a few JSP fragments that use the tag. You ll recognize the following JSP fragment from earlier in this chapter; and it will prove even more useful based on what we ve just learned. This fragment shows how the tag is employed
Note: If you are looking for good and high quality web space to host and run your application check Lunarwebhost Java Web Hosting services
No comments yet.
Sorry, the comment form is closed at this time.