hi, i have a test page with simple command button, when I click on it I want it go to next page but nothing happend. here is my code.thank you for your help.
faces-config.xml file
<?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 >
<navigation-rule>
<from-view-id>/index.jsp</from-view-id>
</navigation-rule>
<navigation-rule>
<from-view-id>/welcome.jsp</from-view-id>
<navigation-case>
<from-outcome>goToApp</from-outcome>
<to-view-id>/clientPage.jsp</to-view-id>
</navigation-case></navigation-rule>
<navigation-rule>
<from-view-id>/clientPage.jsp</from-view-id>
</navigation-rule>
</faces-config>
welcome.jsp file
<%@ page language=”java” pageEncoding=”UTF-8″%>
<%@ taglib uri=”http://java.sun.com/jsf/html” prefix=”h” %>
<%@ taglib uri=”http://java.sun.com/jsf/core” prefix=”f” %>
<html>
<body>
<f:view>
<h:form>
<h:commandButton value=”facturation” action=”goToApp” type=”submit”/>
</h:form>
</f:view>
</body>
</html>