O'Reilly logo

Real World XML by Steven Holzner

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

JSP

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

In this example, I'm going to use the Tomcat server, which we saw in Chapter 18 and 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/ (see Chapter 18 for more on installing this Web server locally).

I'll create the same XML document as in the previous two examples here, by searching ch20_01.mdb ...

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