March 2008
Intermediate to advanced
911 pages
20h 31m
English
In this chapter we’ve built an entire (albeit tiny) MVC application using HTML, servlets and JSPs. You can add this to your resume.
Compiling the servlet
We’ll use the same compiler command that we used earlier:

Deploying and testing the web app
Now it’s time to redeploy the servlet.
1 - Move a copy of the servlet’s .class file to ../Beer-v1/WEB-INF/classes/com/example/web/ (again, this will replace the previous version two class file).
3 - Shutdown and restart tomcat

4 - Test the app via form.html

Read now
Unlock full access