Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Webapp endpoint different than project name?
Webapp endpoint different than project name? [message #529308] Fri, 23 April 2010 14:32 Go to next message
mathew.rowley is currently offline mathew.rowley
Messages: 7
Registered: April 2010
Junior Member
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 Go to previous message
Larry Isaacs is currently offline Larry Isaacs
Messages: 1304
Registered: July 2009
Senior Member
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
Previous Topic:How to install XML Editors and Tools SDK into CDT/JDT install?
Next Topic:who knows how to install apache and tomcat on mac X?
Goto Forum:
  


Current Time: Fri Aug 01 10:14:23 EDT 2014

Powered by FUDForum. Page generated in 0.02025 seconds