Its in web.xml, I now see that it IS loading the servlet.
Next question
a. I have a JSP page which is calling a singleton class loaded by the
initialization below.
b. I keep getting a null pointer exception. Any ideas? Don't JSP and Servlets
and other classes access the same JVM?
thanks
-aaz
On Fri, 30 Jun 2000, you wrote:
> In what files are you putting this "<servlet>" entry?
> It should be in a web.xml file. Not in server.xml
> Just a guess...
> --- - <aaz@webcapacity.com> wrote:
> > Hi,
> > Can't seem to find an example, anyways, I have a
> > startup servlet that does not
> > appear to be starting on tomcat start. What is wrong
> > with the below?
> >
> > <servlet>
> > <load-on-startup>1</load-on-startup>
> > <servlet-name>Init</servlet-name>
> >
> > <servlet-class>org.cub.servlets.Init</servlet-class>
> > <init-param>
> > <param-name>bootfile</param-name>
> >
> >
> <param-value>/usr/local/apache/tomcat/webapps/cubdev/WEB-INF/bootstrap.xml</param-value>
> > </init-param>
> > <init-param>
> > <param-name>rootTag</param-name>
> > <param-value>ROOT</param-value>
> > </init-param>
> > </servlet>
> >
> >
> --------------------------------------------------------------------------
> > To unsubscribe, email:
> > [email protected: tomcat-user-unsubs...@jakarta.apache.org]
> > For additional commmands, email:
> > [email protected: tomcat-user...@jakarta.apache.org]
> >
>
>
> =====
> Wyn Easton
> [email protected: wyn_e...@yahoo.com]
>
> __________________________________________________
> Do You Yahoo!?
> Get Yahoo! Mail - Free email you can access from anywhere!
> http://mail.yahoo.com/
>
> --------------------------------------------------------------------------
> To unsubscribe, email: [email protected: tomcat-user-unsubs...@jakarta.apache.org]
> For additional commmands, email: [email protected: tomcat-user...@jakarta.apache.org]