March 2002
Intermediate to advanced
592 pages
13h 13m
English
The actual building of a tag library is a six-step process:
1. |
Place your business logic into a Java class file. Typically, this means using JavaBeans.
|
2. |
Create a tag handler. This Java class file contains the code that implements each tag's functionality.
|
3. |
Create a TLD (tag library descriptor) file. This file describes the tag library for the JSP system.
|
4. |
Create a distribution file. Tag libraries are portable and generally a programmer will package a tag library for distribution. This is optional.
|
5. |
Register the tag library. This step tells the JSP container where to find the TLD file. This can be as easy as dropping a JAR file into the JSP application.
|
6. | Place the tag library on a JSP page. ... |
Read now
Unlock full access