Java Server Pages

Java Server Pages (JSP) are Java's answer to Active Server Pages, and they enable you to create dynamic Web content in much the same way—by running scripts on the server. You can read all about them at the main JSP page (as of this writing, http://java.sun.com/products/jsp/index.html). Using JSP is fairly close to using ASP.

In this example, I'll use the Apache Tomcat server, which is the official reference implementation for JSP (and Java servlets, for that matter). You can download Tomcat at the Tomcat main page, currently at http://jakarta.apache.org/tomcat/.

I'll create the same XML document as in the previous two examples by searching db.mdb for all students and returning them in an XML document. Because we're working ...

Get Inside XML 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.