http://localhost:8080/demo-project
But what if we want to change context root or in this case demo-project to let's say "demo" only.
Steps:
1.) In the web project create a new file: src/main/webapp/WEB-INF/jboss-web.xml
2.) Enter the following content
<jboss-web>
<context-root>demo</context-root>
</jboss-web>
0 nhận xét:
Đăng nhận xét