Question

I'm trying to set the context path for a web project, but I was not able to save it directly in eclipse.

Then I thought of directly making the change in the file to avoid this.

enter image description here

Here is my file structure:

enter image description here

Which file holds the context path in the webproject - look at my base structure before answering the question.

Was it helpful?

Solution

Go to .setting folder under project folder.

.settings/org.eclipse.wst.common.component

search for property "property name="context-root"" then set the desired value.

enter image description here

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top