资源文件ApplicationResources.properties:
login.title=Struts Demo
login.heading=<h1>Welcome to the StrutsDemo !</h1>
lgoin.message=Welcome to the StrutsDemo !
login.inputPassword=Please input Password :
login.inputName=Please input Username :
loginOK.title= User Login Successfull
loginOK.message=<h1>Login Successfull !</h1>
error.name.required=<h3><font color="red">UserName is Required !</font></h3>
error.password.required=<h3><font color="red">Password is Required !</font></h3>
error.name.wrong=<h3><font color="red">UserName is Wrong !</font></h3>
error.password.wrong=<h3><font color="red">Password is Wrong !</font></h3>
errors.footer=</ul><hr>
errors.header=<h3><font color="red">Validation Error</font></h3>You must correct the following error(s) before proceeding:<ul>
prompt.name=Name
prompt.password=Password
login.title=Struts Demo
login.heading=<h1>Welcome to the StrutsDemo !</h1>
lgoin.message=Welcome to the StrutsDemo !
login.inputPassword=Please input Password :
login.inputName=Please input Username :
loginOK.title= User Login Successfull
loginOK.message=<h1>Login Successfull !</h1>
error.name.required=<h3><font color="red">UserName is Required !</font></h3>
error.password.required=<h3><font color="red">Password is Required !</font></h3>
error.name.wrong=<h3><font color="red">UserName is Wrong !</font></h3>
error.password.wrong=<h3><font color="red">Password is Wrong !</font></h3>
errors.footer=</ul><hr>
errors.header=<h3><font color="red">Validation Error</font></h3>You must correct the following error(s) before proceeding:<ul>
prompt.name=Name
prompt.password=Password
解决方案 »
- 利用离散点求积分
- 使用hibernate注解,如何标识一个属性非数据库的字段
- 技术分享:Java语言的特点
- 有人玩GlassFish上面配置Spring-dm 2.*吗?
- 新增jsp根目录
- 和面试经验多的人学习学习,对日java
- struts2 接收ajax提交的参数
- socket编程中,服务器和客户端的localport和port是怎么给的?
- 新手请教:深入学习java应该走怎样的路线?
- java怎么才能拿到Jpush推送里面的统计数据,比如推送数量,用户的点击数
- 在ant中,如何指定编译时使用的jdk?
- 运行web services,用axis,tomcat和jrun各有什么优缺点,为什么现在大都都是讨论tomcat和axis的,而没有用jrun的?
<field property="name" depends="required">
<msg name="required" key="error.name.required" />
</field> <field property="password" depends="required">
<msg name="required" key="error.password.required" />
</field>
</form>