Hi Kasun, Thank you, but rather I wanted to do this in tomcat itself. Not in our AS.
Thanks, Akalanka. On Fri, May 22, 2015 at 3:39 PM, KasunG Gajasinghe <kas...@wso2.com> wrote: > > Currently, AS does not support that feature. > > On Fri, May 22, 2015 at 1:08 PM, Akalanka Pagoda Arachchi < > darsha...@wso2.com> wrote: > >> Hi all, >> >> I am trying to deploy a web app in tomcat 8 where the context path should >> be different from the war file name. >> >> We should be able to do this by adding a context.xml file in META-INF >> folder in we app according to [1]. I created this file with the following >> content, but this does not change the context path to EdwDataServices. >> >> Any idea on this? >> >> <?xml version="1.0" encoding="UTF-8"?> >> <Context path="/EdwDataServices" >> docBase="webapps/EdwDataServiceWeb-1.0.0-SNAPSHOT.war" /> >> >> Thanks, >> Akalanka. >> >> [1] - https://tomcat.apache.org/tomcat-8.0-doc/config/context.html >> >> -- >> *Darshana Akalanka Pagoda Arachchi,* >> *Software Engineer* >> *078-4721791 <078-4721791>* >> >> _______________________________________________ >> Dev mailing list >> Dev@wso2.org >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > > -- > > *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc. > email: kasung AT spamfree wso2.com > linked-in: http://lk.linkedin.com/in/gajasinghe > blog: http://kasunbg.org > > > -- *Darshana Akalanka Pagoda Arachchi,* *Software Engineer* *078-4721791*
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev