a) What error do you get?
b) Do you get the same error when you start the servlet manually (by
connecting with a browser)?
-- Bill K.
> -----Original Message-----
> From: patricklee99 [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, April 26, 2001 2:40 AM
> To: [EMAIL PROTECTED]
> Subject: Preload Servlet in Tomcat
>
>
>
> Hello,
>
> I am just develop a application in Jrun and I am trying to
> run it on tomcat 3.2.1 (Both for web server and servlet
> engine) on win2k. And I want to preload a servlet when the
> tomcat start.
>
> I add some line in the file <TOMCAT_HOME>/conf/web.xml like that
>
> <servlet>
> <servlet-name>
> ContentServletNT
> </servlet-name>
> <servlet-class>
> com.i2.iba.test.ContentServletNT
> </servlet-class>
> <load-on-startup>
> 1
> </load-on-startup>
> </servlet>
>
> But after I restart the server, it seems not work. It display
> a error with the same as without this line. Is there any
> problem with this few line?
>
> And I am also cannot login the admin page of the tomcat. What
> is the username and password for the tomcat admin page?
>
> Thanks for your help.
>
> Regards,
>
> Patrick Lee
>
> ==================================================================
> �s���K�O�q�l�H�c http://sinamail.sina.com.hk
>
>
>