Just deploy the context to anywhere you want it... jar xvf potatos.war
Then as Andoni said: <context path=bananas docBase=/path_contexts_directory/directory_where_you_extrated_the_war_file ... <!-- Other stuff if necessary! --> </context> Is that it? Orlando On 4/17/07, José Perdigão <[EMAIL PROTECTED]> wrote:
OConchubhair, Andoni wrote: > Hi, > > What do you mean by 'context path'? > > Basically, what you have is: > > <context path="<last_bit_of_URL>" docBase="<name_of_war_or_folder>" ... > <!-- Other stuff if necessary! --> > </context> > > -----Original Message----- > From: José Perdigão [mailto:[EMAIL PROTECTED] > Sent: 17 April 2007 15:37 > To: users@tomcat.apache.org > Subject: tomcat context > > Hi, > I'm using Apache Tomcat Version 5.5.23 and I would how is it possible to > use a context path different to the name of the > war file? > Thanks > I want to deploy war files where the context name is not the same as the original war file name, e.g. deploying potatoes.war and the context name is /banana instead of /potatoes. -- José Miguel Perdigão homepage: zeperdi.pt.vu <zeperdi.pt.vu> --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]