JSF问题
刚写了一个JSF的小程序,问题是我在eclipse上运行时到最后一个页面上的按钮点击后无效!而把代码贴到JB2006上却能正常运行!还有就是JSF标签乱码!我的JSP页面用的是GBK,标签库里的也是用GBK转换的,怎么解决啊??这个是faces-config.xml的代码!
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE faces-config PUBLIC "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN" "http://java.sun.com/dtd/web-facesconfig_1_1.dtd">
<faces-config xmlns="http://java.sun.com/JSF/Configuration">
<managed-bean>
<managed-bean-name>application</managed-bean-name>
<managed-bean-class>onlineapplication.Application</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
</managed-bean>
<navigation-rule>
<from-view-id>/personal.jsp</from-view-id>
<navigation-case>
<from-outcome>experience</from-outcome>
<to-view-id>/experience.jsp</to-view-id>
</navigation-case>
</navigation-rule>
<navigation-rule>
<from-view-id>/experience.jsp</from-view-id>
<navigation-case>
<from-outcome>submit</from-outcome>
<to-view-id>/showinfo.jsp</to-view-id>
</navigation-case>
</navigation-rule>
</faces-config>