The Role of Tag Libraries

JSPs enable you to develop Web-based applications using Java without being a Java expert. By using well designed JavaBeans, it is possible to work almost entirely with HTML and JSP tags. However, as you saw in yesterday's work, you still have to use Java scriptlets to realize the full power of JSPs.

Tag Libraries extend the JSP philosophy further still so that it is possible for you to write most of your Web pages without using Java code.

This can utilized to good effect in development teams. By separating out the Java code into custom tags, a development team can utilize their individual skills more effectively. Java programmers are used to develop the business logic in custom tags, while HTML/JSP developers can focus ...

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