Help running my first servlet with tomcat ???

view story

http://ubuntuforums.org – I just now downloaded tomcat. I learned java the last week and now am planing for servlets. I have a php background. To run my servlet I 1. Created my WEB-INF at Code: <DIR>/apache-tomcat-7.0.32/webapps/ROOT/WEB-INF 2. Put my simple web.xml inside WEB-INF with only Code: <webapp>           </webapp> 3. Then wrote my HttpServlet.java and tried to compile it. Code: // Import required java libraries import java.io.*; import javax.servlet.*; import javax.servlet.http.*; // Extend HttpServlet class public class (Hardware)