Tuesday, August 19, 2008

Changing Web Context-root in MyEclipse

As you would expect, when you create a web application in myEclipse, by default the web context-root is the name of your web application.
(The web context-root defines the URL you'll use to access your web-app).

To change the Web Context-root, right-click on the project and select properties. Then find the MyEclipse->Web tag. Now you can change this property!

You'll then need to re-deploy!

Easy, I know - but it took me a while to find, so why not record it here for posterity...

2 comments:

Anonymous said...

Thank you! I have been searching for the right config menu for hours.

Unknown said...

hey..yes nice explanation. Thanks. I have given here with image representation for your easy understand ..Go through this.