Reputation: 604
I am trying to get my JBoss web application project to land on a simple index page. It's a Maven managed project.
The index page consists of a form that the client can input a name. Then JAX RS returns the clients name to screen.
I am not sure if my configuration is correct.
Upvotes: 0
Views: 3146
Reputation: 26763
Put your index page in src/main/webapp
, say index.html
, and add the following to your web.xml
:
<welcome-file-list>
<welcome-file>index.html</welcome-file>
</welcome-file-list>
Upvotes: 1