Web Development

Java has arrived on the Web with a vengeance in the form of JavaServer Pages (JSP) and servlets, and we'll take a look at how to create these using Eclipse in this chapter. To do that, we're going to use the Tomcat web server, which is the Oracle reference implementation for both JSP and servlets—and it's free for the downloading.


Even though we're going to use Tomcat in this chapter, the Java code we write and the XML files we edit are not Tomcat-specific. JSP and servlets both must adhere to their respective specifications, which means you can use what we develop here with other JSP/servlet web containers.