|
|
Encapsulate reusable functionality in JSP tags |
|
|
Encapsulate reusable functionality in JSP tags |
|
|
Java / JSP and Servlets |
|
|
Click to Visit |
|
|
30 |
You can develop dynamic web-based content with Java Server Pages (JSP). As in HTML, JavaServer Pages (JSP) uses the concept of tags as their building blocks. Though JSP offers a set of predefined tags, you can define you own tag extensions that encapsulate common functionality. This teaches how to use Tomcat which is a Servlet/JSP reference implementation to easily build, deploy and use custom tags created by you. First you have to describe your custom tag and its attributes then write the class that will provide the reusable functionality on your JSPs.
|