I have a servlet that I have created that I want run when tomcat sets up
the context.
However upon start up tomcat gives the error "Cannot load servlet Session1.
Here is what I've done so far:
Checked my class file and its in the proper directory. In fact I can
actually call it from a browser so I know it works and is in the right
place "tomcat/webapps/igce/web-inf/classes"
I have saved the web.xml file in the web-inf directory.
Added the class to the package Session with package Session.
Here section of my web.xml file that I use to specify the servlet
<!-- Servlet to set up Context variables -->
<servlet>
<servlet-name>
Session1
</servlet-name>
<servlet-class>
Session
</servlet-class>
<load-on-startup>1
</load-on-startup>
</servlet>
<!-- Servlet to set up Context variables -->
I am not sure what else to do. I have a hunch that it is something to do
with my <servlet-class>.
Any Ideas?
Thanks in advance.
jeff sulman