users@glassfish.java.net

Re:Re: Setting default deploy context in web.xml

From: xuqingkang2 <xuqingkang2_at_163.com>
Date: Mon, 14 Mar 2011 16:01:59 +0800 (CST)

Sorry, I can't find the container-Independent way.


At 2011-03-14 14:53:32£¬"Richard Kolb" <rjdkolb_at_gmail.com> wrote:
Hello

Thanks
Is there a way to make it container Independent ?

regards
Richard


2011/3/14 xuqingkang2<xuqingkang2_at_163.com>
You can specify the context-root in sub-web.xml.

At 2011-03-14 14:45:32£¬"Richard Kolb" <rjdkolb_at_gmail.com> wrote:
Hello

Can someone please help me.
I am packaging my WAR as ABC_{buildnumber}.war
But I always want the deploy context to behttp://myhost/ABC/

Is there a way to specify this in my web.xml

thanks
Richard.