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 18: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 20:00 Go to previous message
Larry Isaacs is currently offline Larry Isaacs
Messages: 1305
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: Wed Sep 24 02:26:42 GMT 2014

Powered by FUDForum. Page generated in 0.01805 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software