Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » changing context name
changing context name [message #195549] Tue, 03 July 2007 09:14 Go to next message
Eclipse UserFriend
Hi,
I have a dynamic web project. How do I change my project's context name?
Re: changing context name [message #195565 is a reply to message #195549] Tue, 03 July 2007 09:57 Go to previous messageGo to next message
Eclipse UserFriend
You have to make an EAR project that adds your Web project.
Then you have to open the application.xml of the EAR project. There you can
modify the context-root tag of your Web module.

If you publish the Web project directly, without including it in an EAR
(e.g. Tomcat) then the context-root value is the name of the Web project.


"zohar" <david_fire4@hotmail.com> wrote in message
news:f6di3f$p58$1@build.eclipse.org...
> Hi,
> I have a dynamic web project. How do I change my project's context name?
Re: changing context name [message #195580 is a reply to message #195565] Tue, 03 July 2007 10:27 Go to previous messageGo to next message
Eclipse UserFriend
Thank you so much for all the help.

"Kaloyan Raev" <kaloyan.raev@sap.com> wrote in message
news:f6dkji$2oi$1@build.eclipse.org...
> You have to make an EAR project that adds your Web project.
> Then you have to open the application.xml of the EAR project. There you
> can modify the context-root tag of your Web module.
>
> If you publish the Web project directly, without including it in an EAR
> (e.g. Tomcat) then the context-root value is the name of the Web project.
>
>
> "zohar" <david_fire4@hotmail.com> wrote in message
> news:f6di3f$p58$1@build.eclipse.org...
>> Hi,
>> I have a dynamic web project. How do I change my project's context name?
>
>
Re: changing context name [message #195588 is a reply to message #195580] Tue, 03 July 2007 11:03 Go to previous messageGo to next message
Eclipse UserFriend
Just to be sure, a Dynamic Web Project has settings for a deploy-name
(found in the org.eclipse.wst.common.component file) and a context-root.
If by "context name" you are referring to the context-root setting,
you can change that in the web project using the Web Project Settings
page of the project's Properties dialog.

Cheers,
Larry

zohar wrote:
> Thank you so much for all the help.
>
> "Kaloyan Raev" <kaloyan.raev@sap.com> wrote in message
> news:f6dkji$2oi$1@build.eclipse.org...
>> You have to make an EAR project that adds your Web project.
>> Then you have to open the application.xml of the EAR project. There
>> you can modify the context-root tag of your Web module.
>>
>> If you publish the Web project directly, without including it in an
>> EAR (e.g. Tomcat) then the context-root value is the name of the Web
>> project.
>>
>>
>> "zohar" <david_fire4@hotmail.com> wrote in message
>> news:f6di3f$p58$1@build.eclipse.org...
>>> Hi,
>>> I have a dynamic web project. How do I change my project's context name?
>>
>>
Re: changing context name [message #195620 is a reply to message #195588] Wed, 04 July 2007 01:58 Go to previous message
Eclipse UserFriend
Not sure I understand the difference, but I wanted my project to be deployed
as a different context. I changed the project name and it did the trick (it
actually didn't work right away - can't remember what I did to make it take
affect).

"Larry Isaacs" <Larry.Isaacs@sas.com> wrote in message
news:f6dofp$p6i$1@build.eclipse.org...
> Just to be sure, a Dynamic Web Project has settings for a deploy-name
> (found in the org.eclipse.wst.common.component file) and a context-root.
> If by "context name" you are referring to the context-root setting, you
> can change that in the web project using the Web Project Settings page of
> the project's Properties dialog.
>
> Cheers,
> Larry
>
> zohar wrote:
>> Thank you so much for all the help.
>>
>> "Kaloyan Raev" <kaloyan.raev@sap.com> wrote in message
>> news:f6dkji$2oi$1@build.eclipse.org...
>>> You have to make an EAR project that adds your Web project.
>>> Then you have to open the application.xml of the EAR project. There you
>>> can modify the context-root tag of your Web module.
>>>
>>> If you publish the Web project directly, without including it in an EAR
>>> (e.g. Tomcat) then the context-root value is the name of the Web
>>> project.
>>>
>>>
>>> "zohar" <david_fire4@hotmail.com> wrote in message
>>> news:f6di3f$p58$1@build.eclipse.org...
>>>> Hi,
>>>> I have a dynamic web project. How do I change my project's context
>>>> name?
>>>
>>>
Previous Topic:WTP all-in-one
Next Topic:How to create a new Server for WebSphere 5.1
Goto Forum:
  


Current Time: Wed Jul 23 07:14:33 EDT 2025

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

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

Back to the top