Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • How to change the context root of dynamic web application in eclipse?

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 427
    Comment on it

    To change the default url of the dynamic web project, say, the default url of a project is http://localhost:8080/DemoApp through which we can access the project using brower but we need a url like http://localhost:8080/xyz, then there is need to change the context root of the project from its "Properties | Web Project Settings | Context Root".

    Now, change the context root from "DemoApp" to "xyz"

    Remove the web app from server and add it again. It will ask to update the server configuration to match in a dialogue box. Make it yes.

    Then, the web application can run with the url http://localhost:8080/xyz

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: