tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Java Junkie <dluxj...@yahoo.com>
Subject RE: <load-on-startup>
Date Fri, 20 Jul 2001 00:02:29 GMT
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 <WKaufman@viquity.com> 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:dluxjava@yahoo.com]
> > Sent: Thursday, July 19, 2001 3:23 PM
> > To: tomcat-user@jakarta.apache.org
> > 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/

Mime
View raw message