I use wildfly for deployment of an application but I want to change URL of :9081/Portal/login to :9081/ Here is file web.xml :
<welcome-file-list>
<welcome-file>/WEB-INF/jsp/login.jsp</welcome-file>
</welcome-file-list>
I use wildfly for deployment of an application but I want to change URL of :9081/Portal/login to :9081/ Here is file web.xml :
<welcome-file-list>
<welcome-file>/WEB-INF/jsp/login.jsp</welcome-file>
</welcome-file-list>
This can be achieved by combining your web.xml
and answer to this question on StackOverflow: How to define Context Path in Wildfly?
So, to sum it up:
<context-root>
of your app as described in the linked question<welcome-file>
as you are suggesting, writing <welcome-file>/jsp/login.jsp</welcome-file>
should do