Custom Tag Extensions
Many times, you need a Web designer to design your Java Server Pages. The designer might be an expert with HTML but might not know anything about Java. The <jsp:useBean>, <jsp:setProperty>, and <jsp:getProperty> tags allow you to make parts of your application accessible through tags, but you can't invoke bean methods without using either the <% or <%= tags. You can also provide some additional flexibility with the <jsp:include> and <jsp:forward> tags, but these tags are often overkill. You need a way to allow a Web designer to perform a specific operation without knowing any Java.
JSP Tag Extensions let you create new tags that a Web designer can insert directly into a Java Server Page. Through Tag Extensions, you can define ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access