把WEB.XML里面的
<welcome-file-list>
<welcome-file>index.jsp </welcome-file>
</welcome-file-list>
修改成:
<welcome-file-list>
<welcome-file>index.faces</welcome-file>
</welcome-file-list>
试试看吧。
<welcome-file-list>
<welcome-file>index.jsp </welcome-file>
</welcome-file-list>
修改成:
<welcome-file-list>
<welcome-file>index.faces</welcome-file>
</welcome-file-list>
试试看吧。
解决方案 »
- 求高手指点,struts2 的一个简单问题
- 请教各位神仙,C#转业JAVA问题!!!!!!!!!!!!!!!!!!!!!!!!!
- [紧急][在线等]Struts中html:text中的长度问题
- 如何用java根据xml文件的schema来建立数据库的表,建表后要把xml的数据写到数据库的!大家有什么办法?急~~~~
- 大家给我推荐本关于struts hibernate spring的好书吧
- java中关于ip转换的问题~
- webService服务端如何将xml传给客户端
- struts的奇怪出错,帮忙看看!!!
- jqgrid问题
- 请教各位大虾,通过JAVA实现FTP文件传输
- FCK过滤标签等问题
- 关于消息驱动Bean能否和其他异构系统通讯的问题
<servlet-name>Faces Servlet </servlet-name>
<url-pattern>*.faces </url-pattern>
你是这么定义的.
这样才了被jsf的Action截获.