I don't think this will work the way Dave wanted. A webapp has only one
web.xml file associated with it. You cannot specify different initialization
parameters for one webapp no matter how many different URL's to point to it
or how you handle the requests.
In order to have different initialization parameters for a webapp you will
need to have two separate definitions of that webapp. I don't know of a way
around it.
Justy
----- Original Message -----
From: "Hemadri Gurramkonda" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, September 17, 2001 11:19 AM
Subject: Re: Multiple instances of one web-app
> Here is one way of doing this, I hope there will be web server in front of
> application server. If so configure web server to handle both urls to
point
> to him. Then add the plug in on this web server to pass the request to
> application servers based on some request parameter. I hope you dont want
to
> share the session info b/n these application servers.
>
> Thanks,
> ~Hemu Naidu
>
> -----Original Message-----
> From: Dave Ford [mailto:[EMAIL PROTECTED]]
> Sent: Monday, September 17, 2001 11:29 AM
> To: [EMAIL PROTECTED]
> Subject: Multiple instances of one web-app
>
>
> 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?
>
> Dave Ford
> Smart Soft - The Java Training Company
> http://www.smart-soft.com
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
> DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets