<form id="loginForm" action="/login/login" method="post">
<label for="name">帐号:</label>
<input type="text" id="name" name="name" />${userNameMsg!}<br/>
<label for="name">密码:</label>
<input type="password" id="password" name="password" /><br/>
<input type="button" value="登录" id="login" />
</form>
我在jsp中登录过滤器${userNameMsg!}为啥jsp中报错
其中
protected void validate(Controller c) {
validateRequiredString("name", "userNameMsg", "账号不能为空.");
validateRequiredString("password", "userPassMsg", "密码不能为空.");
}
过滤器中定义了userNameMsg
项目:JFinal