Hello friends, I have written a simple servlet, compiled it and placed in a folder called web-inf/classes and I have placed sevlet.jar file in web-inf/lib folder. I'm using a Tomcat5.5 version and my tomcat server is running and when I'm trying to call my servlet is with an URL like this gives an error
URL = http://localhost:3030/examples/servlet/HelloClientServlet please help me, I'm stuck with this error since yesterday, regards, raasi the error message it gives me is ********************************************************************************************** HTTP Status 404 - /examples/servlet/HelloClientServlet -------------------------------------------------------------------------------- type Status report message /examples/servlet/HelloClientServlet description The requested resource (/examples/servlet/HelloClientServlet) is not available. -------------------------------------------------------------------------------- Apache Tomcat/5.5.4 ********************************************************************************************** my servlet is like this [CODE] import java.io.*; import javax.servlet.*; import javax.servlet.http.*; public class HelloClientServlet extends HttpServlet { protected void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException { res.setContentType("text/html"); PrintWriter out = res.getWriter(); out.println("<HTML><HEAD><TITLE>Hello Client!</TITLE>"+ "</HEAD><BODY>Hello Client!</BODY></HTML>"); out.close(); } public String getServletInfo() { return "HelloClientServlet 1.0 by Stefan Zeiger"; } } [CODE] __________________________________ Do you Yahoo!? Check out the new Yahoo! Front Page. www.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
