This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Hi to all,
I'm trying for the first to time to set up a servlet on tomcat 6.0.20.
I'm getting the error:
type Status report
description The requested resource (/test) is not available.
Maybe I'm doing it wrong.
That's what I did:
1)I have succerfully compiled the code of the servlet and put the .class file inside the /my-app/WEB-INF/classes/ directory.
2)I have created the web.xml file and copied it into /my-app/WEB-INF/ directory.
3)I have all the libs inside the /my-app/WEB-INF/lib/ directory
Here is the web.xml
Am I missing other steps in order to get a servlet working? Or is the xml code wrong?