On 1/6/11 8:16 AM, Leon Rosenberg wrote: > On Wed, Jan 5, 2011 at 10:21 PM, Wayne Fay <wayne...@gmail.com> wrote: >>> The webapp have to be accessed by a specific context-path, e.g. >>> http://host:port/distributeme/registry/list >>> >>> The easiest way to achieve it, is to name the war distributeme.war. >> >> Each app server has its own way of handling this -- context.xml, >> weblogic, xml, etc. You could also just include all those >> configuration files in your war file directly. > > Unfortunately no. You can't set the context-path from within the webapp :-( > regards > Leon
Um, no. You can certainly do this. There just isn't a standard way to do it across containers and, as Wayne says, each app server has its own way of handling it. Justin > >> >> Wayne >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org >> For additional commands, e-mail: users-h...@maven.apache.org >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org