How To Alter The Context Url Inward Jboss Or Wildfly

Normally when nosotros utilize a novel country of war or ear, for illustration demo-project.war or demo-project.war within demo-project.ear. The context origin or url to which nosotros tin access the spider web application is:

http://localhost:8080/demo-project

But what if nosotros desire to modify context origin or inward this instance demo-project to let's say "demo" only.

Steps:
1.) In the spider web projection utilize a novel file: src/main/webapp/WEB-INF/jboss-web.xml

2.) Enter the next content
<jboss-web>     <context-root>demo</context-root> </jboss-web> 
Next
Previous
Click here for Comments

0 komentar:

Please comment if there are any that need to be asked.