The Role of Tag Libraries

JSPs make it possible for you to develop Web-based applications using Java without being a Java expert. By utilizing well-designed JavaBeans, you can work almost entirely with HTML and JSP tags. However, as you saw in yesterday's work, you will still sometimes need to provide programming constructs in the JSP, and for this you had to use Java scriptlets to realize the full power of JSPs.

JSTL and custom tag libraries extend the JSP philosophy so that it is possible for you to write most, if not all, of your Web pages without using Java code.

This is a big advantage that can be utilized to good effect in development teams. By separating out the Java code into custom tags, a development team can utilize their individual ...

Get Sams Teach Yourself J2EE™ in 21 Days, Second Edition 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.