Things you always forget: default webpage in your Java webapp

Configure your default welcome page in your web.xml with the <welcome-file-list> element:

<welcome-file-list>
    <welcome-file>/welcome</welcome-file>
</welcome-file-list>

 

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.