I tried: http://kes:8080/WinGalagaHST?Op=GetScore and http://kes:8080/WinGalagaHST/WinGalagaHST?Op=GetScore
but both just show HTTP 404 message. This servlet runs on my friends machine, with his own coded web-server, and to get a score, he calls ?Op=GetScore. Thanks Allan ----- Original Message ----- From: "Harry Mantheakis" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Saturday, January 17, 2004 12:21 PM Subject: Re: web.xml config > Hello > > What is the problem? > > How exactly are you calling (requesting) the servlet? - Give us the complete > URL you are using to invoke the servlet. > > Harry > > > I have tomcat up and running fine - verified by running the example jsp > > pages and servlets. > > I have a servlet that I want to get working, called WinGalagaHST which is > > used for my game I have been developing. I have put it in my tomcats > > webapps directory, and the necessary subdirs like > > > > /usr/local/sites/tomcat/tomcat/webapps/WinGalagaHST/WEB-INF/classes > > > > I have put the class files in the classes folder (2 of them, called > > EDSServlet.class and WinGalagaHST.class), and have my web.xml in the WEB-INF > > directory. Is this correct? Below is my web.xml file. If anybody knows > > where I am going wrong, I would much appreciate the help. > > > > Thanks very much > > Allan > > > > > > > > > > -----web.xml > > <?xml version="1.0" encoding="ISO-8859-1"?> > > > > <!DOCTYPE web-app > > PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" > > "http://java.sun.com/dtd/web-app_2_3.dtd"> > > > > <web-app> > > <servlet> > > <servlet-name> > > WinGalagaHST > > </servlet-name> > > <servlet-class> > > WinGalagaHST > > </servlet-class> > > </servlet> > > <servlet-mapping> > > <servlet-name>WinGalagaHST</servlet-name> > > <url-pattern>/WinGalaga</url-pattern> > > </servlet-mapping> > > </web-app> > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
