previous
|
index
|
next
A Custom Tag for the Sales Database
Here is a
SalesSummaryServlet
class.
Here is a JSP page that accomplishes the same thing:
SalesSummary.jsp
Here is a JSP page that accomplishes the same thing with a custom tag:
SalesSummaryWithTag.jsp
Note that the task of querying the database and building the HTML table rows is given to the custom tag
summary
Here is the TLD entry for the
summary tag TLD entry
in
sales.tld
Here is the
SalesSummaryTag
class that creates the table rows.
http://redrock.d.umn.edu:8082/webapp-smit0012/SalesSummaryServlet
http://redrock.d.umn.edu:8082/webapp-smit0012/SalesSummary.jsp
http://redrock.d.umn.edu:8082/webapp-smit0012/SalesSummaryWithTag.jsp
previous
|
index
|
next