使用jsf框架,点击按钮提交错误
<faces-config>
<managed-bean>
<managed-bean-name> System_Login </managed-bean-name>
<managed-bean-class> TiSV_Web.System_Login </managed-bean-class>
<managed-bean-scope> request </managed-bean-scope>
</managed-bean>
<navigation-rule>
<from-view-id> /index.jsp </from-view-id>
<navigation-case>
<from-outcome> system_Login </from-outcome>
<to-view-id> /index1.jsp </to-view-id>
</navigation-case>
</navigation-rule>
</faces-config>
-----------------------------
<servlet-mapping>
<servlet-name> Faces Servlet </servlet-name>
<url-pattern> /faces/* </url-pattern>
</servlet-mapping>
-------------------------------
index.jsp
<%@page contentType= "text/html "%>
<%@page pageEncoding= "UTF-8 "%>
<%@taglib prefix= "f " uri= "http://java.sun.com/jsf/core "%>
<%@taglib prefix= "h " uri= "http://java.sun.com/jsf/html "%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN "
"http://www.w3.org/TR/html4/loose.dtd ">
<html>
<head>
<meta http-equiv= "Content-Type " content= "text/html; charset=UTF-8 ">
<title> JSP Page </title>
</head>
<body>
<f:view>
<h:form>
<table border= "0 " align= "center ">
<thead>
<tr>