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.
Here is my file structure:
Which file holds the context path in the webproject - look at my base structure before answering the question.
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.