Allan, Essentially, don't use packageless classes. The FAQ http://jakarta.apache.org/tomcat/faq/classnotfound.html has a bunch of references regarding this.
Mark > -----Original Message----- > From: Allan Bruce [mailto:[EMAIL PROTECTED] > Sent: Saturday, January 17, 2004 9:40 PM > To: Tomcat Users List; David Wall > Subject: almost there with my servlet > > I have added my servlet file (WinGalagaHST) to the > examples/WEB-INF/classes > folder and added the following to the web.xml file > > <servlet> > <servlet-name>WinGalagaHST</servlet-name> > <servlet-class>WinGalagaHST</servlet-class> > </servlet> > > <servlet-mapping> > <servlet-name>WinGalagaHST</servlet-name> > <url-pattern>/WinGalagaHST</url-pattern> > </servlet-mapping> > > I get the following error: > Cannot allocate servlet instance for path... > > I am trying to access the servlet by: > http://allanmb.redirectme.net:8080/examples/servlet/WinGalagaH > ST?Op=GetScore > > What am I missing? > Thanks > Allan > > > --------------------------------------------------------------------- > 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]