Thanks,
      And what about the location of the servlet? Must in reside anywhere 
in particular?

paul.





web.xml in the /conf directory is global and applies to all webapps. If 
you have anything specific for your webapp you should instead use the 
web.xml in your webapp directory, specifically like datasources and the 
like. Take a look at the jsp specs or tomcat docs if you need further 
details.

[EMAIL PROTECTED] wrote:

>Hi, 
>        Further to a posting made a while ago - I wish to define some 
>session variables on the startup of Tomcat. I have added:
>
>    <listener>
>        <listener-class> com.mycomp.servlet. LoadMyServletAtStartup 
></listener-class>
>    </listener>
>
>to conf/web.xml
>
>and have my servlet source. Where (if anywhere specific) must I place it? 

>Have I edited the correct web.xml?
>
>Thaks
>
>Paul.
> 
>



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>



Reply via email to