Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

almost there with my servlet

Allan Bruce

2004-01-17

Replies:

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/WinGalagaHST?Op=GetScore

What am I missing?
Thanks
Allan


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)



©2008 junlu.com - Jax Systems, LLC, U.S.A.