Summary

JSP is a wonderful tool that simplifies using servlets. However, at times, using specialized servlets can greatly enhance a JSP site. In the case of XML, building generic handlers for XML pages can be a great boon to a JSP application. It's possible to provide extra security by preventing unwanted access to XML pages. Using servlets can reduce the amount of work within the JSP site by creating reusable templates to process an XML file in different directories.

Get JSP™ and XML Integrating XML and Web Services in Your JSP™ Application 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.