struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From coolsayan <coolsayan.2...@gmail.com>
Subject Re: <html:errors/> error validation error
Date Sat, 30 May 2009 19:10:12 GMT

<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>

<%@ taglib uri="http://struts.apache.org/tags-html" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">
<html>
    <head>
        <link rel="stylesheet" type="text/css" href="menu.css">
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Login</title>
    </head>
    <body>
        <jsp:include page="head.jsp"/>
        <div id="login">
 <h1>Login Form</h1>
    <html:form action="/login">
        <table  border="0" cellpadding="10px" cellspacing="10px" 
width="400px">

            <tbody>
                <tr>
                    <td> register.jsp Register to login </td>
                </tr>
                <tr>
                    <td>Enter Your user name:</td>
                    <td><html:text property="name" /></td>
                </tr>
                <tr>
                    <td>Enter Your Password:</td>
                    <td><html:password property="password" /></td>
                </tr>
                <tr>
                    
                    <td><html:submit value="Login" /></td>
                    <td><html:reset value="" /></td>
                    <td> forgetpass.jsp Forget Password </td>
                </tr>
            </tbody>
        </table>

 <html:errors property="error.name.required" />

    
    </html:form>
    
    </div>
    
    </body>
</html>


no error out put still it is configured...what to do?





















Paul Benedict-2 wrote:
> 
> http://wiki.apache.org/struts/StrutsUpgradeNotes11to124
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/%3Chtml%3Aerrors-%3E-error-validation-error-tp23765113p23796476.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message