Hi All,
i want map index.xhtml under each path of my domain, i tested this in glassfish v3 it is working but when i switched to jboss i got an error.
my web.xml is
<welcome-file-list>
<welcome-file>index.xhtml</welcome-file>
</welcome-file-list>
<servlet-mapping>
<servlet-name>my-faces-servlet-name</servlet-name>
<url-pattern>*.xhtml<url-pattern>
</servlet-mapping>
....
When i type the root of app , index.xhtml is viewed (http:/localhost:8080/my-domain/)
but browsing like http:/localhost:8080/my-domain/articles/
gives an error (/my-domain/articles/) is not available
When i add index.xhtml to the end then it is ok
http:/localhost:8080/my-domain/articles/index.xhtml
what should i add to view index.xhtml under a path without typing index.xhtml
Any suggestions ?
Thanks...