O'Reilly logo

JavaServer Pages™, Second Edition by Larne Pekowsky

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 14. Advanced Topics

The preceding chapters have included more than enough information to build almost any conceivable Web site by using JSPs, beans, databases, and servlets. In fact, however, a great deal in the JSP, servlet, JDBC, and bean specifications could not possibly be included here. This book has concentrated on those features that are most common: the ones that will be used 90 percent of the time. This chapter surveys a few remaining topics that should cover another 5 percent.

Declaring Variables and Methods

As JSPs are servlets and class variables and new methods can be added to servlets, it should be possible to do the same to a JSP. This can be done by placing the declaration between <jsp:delcare> and </jsp:declare> tags or, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required