add jboss-web.xml to your WEB-INF
with content along this lines:
<?xml version="1.0" encoding="UTF-8"?>
Hi Tomaz , I have tried above mentioned steps , I am able to access to myApp using this https://someip/myApp/ but not able lo login if i try giving this url https://someip/. I want myApp access should work in both the scenario , can you please direct me like if any user logs in using https://someip it should redirect to https://someip/myApp. Where someip is the ip of application server where myApp is deployed. Note: Using jboss7 I am able to do this for refrence you can refer my question https://developer.jboss.org/thread/274843 but my requiremment is to make it work in wildfly 10.