[opencms-dev] Invoke OpenCMS servlet automatically

ambiesense at gmx.de ambiesense at gmx.de
Tue Nov 18 18:34:01 CET 2003


Thank you very much, it worked :-)

> Hello Ralf
> 
> Try to add
> 
>     <load-on-startup>1</load-on-startup>
> 
> to the servlet declaration part in web.xml. Which would result in 
> something like
> 
>     <servlet>
>         <servlet-name>OpenCmsServlet</servlet-name>
>         <description>
>             The main servlet that handles all requests to the OpenCms VFS.
> 
>         </description>
>         <servlet-class>com.opencms.core.OpenCmsHttpServlet</servlet-class>
>         <load-on-startup>1</load-on-startup>
>     </servlet>
> 
> That helps.
> 
> Greetings
> Michael
> 
> 
> ambiesense at gmx.de wrote:
> 
> >Hi,
> >
> >usually Tomcat Servlets are instanciated after a webapplication is
> accessing
> >its url first time. Is there a method of automatically do this for
> OpenCMS?
> >Can I tell Tomcat to instanciate the opencms servlet directly after
> startup?
> >If the answer is yes, can anybody provide an example?
> >
> >Cheers,
> >Ralf
> >
> >  
> >
> 
> 
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev
> 

-- 
GMX Weihnachts-Special: Seychellen-Traumreise zu gewinnen!

Rentier entlaufen. Finden Sie Rudolph! Als Belohnung winken
tolle Preise. http://www.gmx.net/de/cgi/specialmail/

+++ GMX - die erste Adresse für Mail, Message, More! +++




More information about the opencms-dev mailing list