Rather than writing action code directly in your JSP file, you can store common functions in a tag library and implement the functions using simple tags. This practice makes the JSP file more readable and isolates the JSP file from any underlying implementation changes.
Tag libraries can be in one of the following forms:
You use taglib directives in a JSP file to reference the tag libraries that the JSP file uses and to give each library a namespace within the JSP file. The tags are used in the same manner as JSP action elements. The Source Editor provides code completion for tag library JAR files that are in WEB-INF/lib and for tag files that are under the WEB-INF/tags directory.
See Also | |
---|---|
About Tag Libraries Using Tags in JSP Files Using the Tag Library Repository Adding a Tag Library from the Filesystem Adding Tag Files to a Web Module Using the JSTL |