I would think you would just need to use request.getServletContext() for all
URL generation. Then your app would be totally independent of context and
you should be able to move between them all easily.
Rey
-----Original Message-----
From: Nicholson Robert [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 31, 2000 1:38 PM
To: [EMAIL PROTECTED]
Subject: Deploying multiple version of an application within the same
servlet engine?
So,
Is there anybody that uses different "contexts" for
test/production/development?
If so how do you manage your url generation?
It seem to me that you can bind an application to a context but you'll
have to be sure that all urls generated reference that context.
How do people tackle the problem of installing multiple versions of their
application within the same application server?
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
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".
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