hi
Load on start up is basically to load the class files once u start the
tomcat ..
<load-on-startup>1</load-on-startup> 1 is order in which class files to
be loaded
--saritha
-----Original Message-----
From: Java Junkie [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 19, 2001 5:02 PM
To: [EMAIL PROTECTED]
Subject: RE: <load-on-startup>
I couldn't quite follow how the document said to
implement this. Could you help me with this code
snippet?
Thnx!
<servlet>
<servlet-name>
GeneConnectionPool
</servlet-name>
<servlet-class>
gene.connection.GeneConnectionPool
</servlet-class>
<init-param>
<param-name>connections</param-name>
<param-value>2</param-value>
</init-param>
<load-on-startup>
1
</load-on-startup>
</servlet>
--- William Kaufman <[EMAIL PROTECTED]> wrote:
> I'm not sure I understand what you're trying to
> accomplish, but the JSDK
> explains how to use <load-on-startup>. Look at the
> JSDK spec, at,
>
> http://java.sun.com/products/servlet/download.html
>
> or web.dtd, at,
>
> http://java.sun.com/j2ee/dtds/web-app_2_2.dtd
>
>
> -- Bill K.
>
> > -----Original Message-----
> > From: Java Junkie [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, July 19, 2001 3:23 PM
> > To: [EMAIL PROTECTED]
> > Subject: <load-on-startup>
> >
> >
> > Hello,
> > I am trying to create a pooled resource. I am
> doing
> > this by loading a wrapper class on startup that
> will
> > recieve two parameters and manage the resources
> based
> > on those parameters. I do not know the exact
> syntax
> > for using the <load-on-startup> tag. Could someone
> > please help?!
> >
> > Thank you.
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Get personalized email addresses from Yahoo! Mail
> > http://personal.mail.yahoo.com/
> >
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/