How to change context root of a dynamic web project in Eclipse?

后端 未结 13 2652
一整个雨季
一整个雨季 2020-11-22 12:59

I developed a dynamic web project in Eclipse. I can access the app through my browser using the following URL:

http://localhost:8080/MyDynamicWebApp
         


        
13条回答
  •  心在旅途
    2020-11-22 13:15

    In Glassfish you must also change the file WEB-INF/glassfish-web.xml

    
        /myapp
    
    

    So when you click in "Run as> Run on server" it will open correctly.

提交回复
热议问题