I'm using JBoss 7. When I created an index.xhtml file, I was able to access it via http://server/appname/index.jsf. I'm also able to redirect to /index.jsf from the server. I can download the .xhtml file by calling http://server/appname/index.xhtml but the file doesn't get "rendered." I would like to be able to use http://server/appname/index.xhtml or some other such thing. In previous versions of JBoss I would do this by creating a servlet and servlet mapping in the web.xml. Is there a way to do that same sort of thing in the web.xml for JBoss 7?