我已经使用tomcat作为应用程序服务器编写了一个facelets Web应用程序。我的程序有一个foobar.xhtml和网址是:使用JSF从URL中删除Foobar.xhtml
http://localhost:8080/Myapplication/foobar.faces
我可以改变的东西在我的应用程序,以便链接到:
http://localhost:8080/Myapplication/
..will实际呈现我的申请http://localhost:8080/Myapplication/foobar.faces?
或者,http://localhost:8080/Myapplication/可以重定向到http://localhost:8080/Myapplication/foobar.faces?
谢谢!我已经尝试过欢迎文件列表,但它没有奏效。现在我明白这是一个tomcat问题。伟大的解决。 – Roalt 2010-06-10 06:18:40