<%@ page contentType="text/html; charset=utf-8" %>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<f:view>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title><h:outputText value="Login"></title>
</head>
<body>
<h:form>
<table cellpadding="0" cellspacing="0">
<tr>
<td>
<h:graphicImage url="/img/login/icon.gif"
 alt="Welcome to Login"
 title="Welcome to Login"
 width="149" height="160"/>
</td>
<td>
<table cellpadding="5" cellspacing="3">
<tr>
<td colspan="2">
<font face="Arial, sans-serif" size="6">
</font>
</td>
</tr>
<tr>
<td>
<h:outputLabel for="SutdentNo">
<h:outputText value="Enter your SudentNo:"/>
</h:outputLabel>
</td>
<td>
<h:inputText id="SudentNo" size="20" maxlength="10"/>
</td>
</tr>
<tr>
<td>
<h:outputLabel for="password">
<h:outputText value="Enter your password"/>
</h:outputLabel>
</td>
<td>
<h:inputSecret id="password" seze="20" maxlength="15"/>
</td>
</tr>
<tr>
<td>
<h:commandButton action="success"
                 title="submit"
                 value="Submit"/>
</td>
</tr>
</table>
</td>
</tr>
</table>
</h:form>
</body>
</html>
</html>
</f:view>??提示:
type 例外レポートメッセージ 説明 The server encountered an internal error () that prevented it from fulfilling this request.例外 javax.servlet.ServletException: /jsp/login/login2.jsp(63,0) 終了タグ "&lt;/f:view" の対応が取れていません
javax.faces.webapp.FacesServlet.service(FacesServlet.java:152)
org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144)
原因 javax.faces.FacesException: /jsp/login/login2.jsp(63,0) 終了タグ "&lt;/f:view" の対応が取れていません
org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:435)
org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:234)
org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144)我的系?是日文操作系?

解决方案 »

  1.   

    <%@ page contentType="text/html; charset=utf-8" %>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
    <f:view>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title><h:outputText value="Login"></title>
    </head>
    <body>
    <h:form>
    <table cellpadding="0" cellspacing="0">
    <tr>
    <td>
    <h:graphicImage url="/img/login/icon.gif"
     alt="Welcome to Login"
     title="Welcome to Login"
     width="149" height="160"/>
    </td>
    <td>
    <table cellpadding="5" cellspacing="3">
    <tr>
    <td colspan="2">
    <font face="Arial, sans-serif" size="6">
    </font>
    </td>
    </tr>
    <tr>
    <td>
    <h:outputLabel for="SutdentNo">
    <h:outputText value="Enter your SudentNo:"/>
    </h:outputLabel>
    </td>
    <td>
    <h:inputText id="SudentNo" size="20" maxlength="10"/>
    </td>
    </tr>
    <tr>
    <td>
    <h:outputLabel for="password">
    <h:outputText value="Enter your password"/>
    </h:outputLabel>
    </td>
    <td>
    <h:inputSecret id="password" seze="20" maxlength="15"/>
    </td>
    </tr>
    <tr>
    <td>
    <h:commandButton action="success"
                     title="submit"
                     value="Submit"/>
    </td>
    </tr>
    </table>
    </td>
    </tr>
    </table>
    </h:form>
    </body>
    </html>
    </html>
    </f:view>??提示:
    type 例外レポートメッセージ 説明 The server encountered an internal error () that prevented it from fulfilling this request.例外 javax.servlet.ServletException: /jsp/login/login2.jsp(63,0) 終了タグ "&lt;/f:view" の対応が取れていません
    javax.faces.webapp.FacesServlet.service(FacesServlet.java:152)
    org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144)
    原因 javax.faces.FacesException: /jsp/login/login2.jsp(63,0) 終了タグ "&lt;/f:view" の対応が取れていません
    org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:435)
    org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:234)
    org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384)
    javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
    org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144)我的系?是日文操作系?