>
> That's the problem. I want each web-app instance to have it's own params.
>
Your problem isn't a problem. :-) Each web-app has it's own web.xml,
therefore, each web-app automatically has it's own params.
> > > 1. myServer/wa1/web-inf/web.xml
> > > 2. myServer/wa2/web-inf/web.xml
--------------------
Kevin Baynes
Software Engineer
[EMAIL PROTECTED]
> -----Original Message-----
> From: A mailing list for discussion about Sun Microsystem's Java Servlet
> API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of Dave
> Ford
> Sent: Monday, September 17, 2001 1:23 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Multiple instances of one web-app
>
>
> <<Do you mean web-app or servlet?>>
> I mean web-app.
>
> > Startup parameters
> > are defined in the
> > web.xml file. So
> > just specify the
> > appropriate startup parameters in
> > the web.xml files,
> > and each web-app will have its own.
>
> That's the problem. I want each web-app instance to have it's own params.
>
> Dave Ford
> Smart Soft - The Java Training Company
> http://www.smart-soft.com
>
> ----- Original Message -----
> From: "Milt Epstein" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, September 17, 2001 10:02 AM
> Subject: Re: Multiple instances of one web-app
>
>
> > On Mon, 17 Sep 2001, Dave Ford wrote:
> >
> > > Suppose I want to have two instances of the same web-app running at
> > > 2 different URLs:
> > >
> > > 1. myServer/wa1
> > > 2. myServer/wa2
> > >
> > > Now suppose I want to have different startup parameters for each
> > > web-app. Is there a standard way to do this?
> >
> > Do you mean web-app or servlet?
> >
> > web-apps are pretty much totally distinct, they have their own
> > contexts and web.xml files. Startup parameters are defined in the
> > web.xml file. So just specify the appropriate startup parameters in
> > the web.xml files, and each web-app will have its own.
> >
> > It's also possible to define multiple instances of the same servlet in
> > one web-app, and have each instance have its own startup parameters.
> > In the web.xml file, the init-param tag goes inside the servlet tag
> > (i.e. the startup parameters are particular to a servlet definition).
> >
> > Milt Epstein
> > Research Programmer
> > Software/Systems Development Group
> > Computing and Communications Services Office (CCSO)
> > University of Illinois at Urbana-Champaign (UIUC)
> > [EMAIL PROTECTED]
> >
> >
> __________________________________________________________________
> _________
> > To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> body
> > of the message "signoff SERVLET-INTEREST".
> >
> > Archives: http://archives.java.sun.com/archives/servlet-interest.html
> > Resources: http://java.sun.com/products/servlet/external-resources.html
> > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
> >
>
> __________________________________________________________________
> _________
> To unsubscribe, send email to [EMAIL PROTECTED] and include
> in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html