doPost()and other methods
WROX.COM CODE DOWNLOADS FOR THIS CHAPTER
NEW MAVEN DEPENDENCIES FOR THIS CHAPTER
In this chapter, you’ll need your first Maven dependency, shown in the following code. You’ll use this dependency for every chapter throughout the rest of the book.
<dependency> <groupId>javax.servlet</groupId> <artifactId>javax.servlet-api</artifactId> <version>3.1.0</version> <scope>provided</scope> </dependency>
In the last chapter, you became familiar with application servers and web containers and learned how to run, deploy to, and debug Apache Tomcat 8.0 from your Java IDE. In this chapter, you begin building web applications by first exploring the world of Servlets. Throughout this chapter and the rest of the book, you’ll continually change and improve these applications, deploying them to Tomcat for testing and debugging.
In the Java Platform, Enterprise Edition, a