这是我用别人的例子做的 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.username.required=<h3><font color="red">UserName is Required !</font></h3> error.password.required=<h3><font color="red">Password is Required !</font></h3> error.username.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> 有不对的地方吗?
我试用文本编辑的 ,然后把后缀改成.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.username.required=<h3><font color="red">UserName is Required !</font></h3>
error.password.required=<h3><font color="red">Password is Required !</font></h3>
error.username.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>
有不对的地方吗?