Introduction

The previous chapter introduced the basics of building an application with Java. The syntax of the JSP language, and the tags, directives, and scriptlets that make up the language were all explained. This chapter builds on the work of the previous chapter by using a series of examples to explain how to develop Web applications using JSP with JavaBeans and custom tag libraries.

Since it is not uncommon for Web applications to require the display of a one-month calendar on a Web page, this chapter provides an example of a JavaBean that can provide this functionality. This provides a useful demonstration of both JSP/scriptlet development as well as the use of custom tags. The conversion of the JavaBean into the custom tag highlights ...

Get J2EE™ and Beyond: Design, Develop, and Deploy World-Class Java™ Software now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.