|
|
Re: context path [message #80933 is a reply to message #78155] |
Mon, 07 March 2005 12:16  |
Eclipse User |
|
|
|
It's become a nightmare deploying. I've tried so many combinations of
start/stop and changing the server's configuration (both through the web.xml
and through the server's config) - sometimes it works , but most times it
doesn't :(
It seems that eclipse insists on deploying my servlet with the context root
of the servlet's class name. Where does it keep this information, or does it
reassign it anew each time by looking at the classes?
"Chemi" <jmordax@terra.es> wrote in message
news:cvvm0k$juf$1@www.eclipse.org...
> Zohar wrote:
>
>>There are 2 optional places where a servlet's context path can be set:
>>1. In the project's web.xml
>>2. In the server's editor (modules pane)
>>
>>They seem not to be synchronized (should they be?) - is that a bug?
>>
>>I created a new project, as described in
>> http://www.eclipse.org/webtools/jst/components/j2ee/scenario s/ServletScenario.html
>>and then tried to change the context (I want my servlet to be invoked with
>>http://localhost:8080/HelloWorld) by changing both places. It did not work
>>and the servlet stopped working. I then tried to repair the damage and
>>redid
>>my changes, but that did not help.
>>Can anyone help me please?
>>
> I think that is about: https://bugs.eclipse.org/bugs/show_bug.cgi?id=83164
>
> Regards,
>
> Chemi.
|
|
|
Powered by
FUDForum. Page generated in 0.07067 seconds