Webapp endpoint different than project name? [message #529308] |
Fri, 23 April 2010 14:32  |
Eclipse User |
|
|
|
is it possible to run a j2ee project on tomcat, but have the endpoint be different than the project name? i think the issue has to do with when the .war file is created, or the compiled project is copied to the webapps directory it uses the same name as the project folder... i want to name my project folder one thing, but have the webapp endpoint be something different
|
|
|
Re: Webapp endpoint different than project name? [message #529326 is a reply to message #529308] |
Fri, 23 April 2010 16:00  |
Eclipse User |
|
|
|
mathew.rowley@gmail.com wrote:
> is it possible to run a j2ee project on tomcat, but have the endpoint be
> different than the project name? i think the issue has to do with when
> the .war file is created, or the compiled project is copied to the
> webapps directory it uses the same name as the project folder... i want
> to name my project folder one thing, but have the webapp endpoint be
> something different
Within Eclipse, the WTP Tomcat support will honor the "Context root"
(assuming that's what you mean by "endpoint") you specify for the
Dynamic Web Project. You can set it when you create the project or on
the Web Project Settings page in the project Properties dialog. Outside
of Eclipse it will be up to you to arrange for a "Context root" that
differs from the name of the WAR.
Cheers,
Larry
|
|
|
Powered by
FUDForum. Page generated in 0.02329 seconds