0

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>

1 Answers1

0

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:

  1. Define <context-root> of your app as described in the linked question
  2. Define a <welcome-file> as you are suggesting, writing <welcome-file>/jsp/login.jsp</welcome-file> should do
Mišo Stankay
  • 339
  • 1
  • 8