Last step: Compile the application. properties file and copy it to the/tomcat 5.0/webapps/struts/WEB-INF/classes/COM/javer/test/struts/directory
[Application. properties ]:
Hello. jsp. Title = Hello Struts!
Hello. jsp. Page. Heading = Struts!
Hello. jsp. Prompt. Person = enter the name:
Com. javer. Test. Struts. Hello. unallowed. Person = the name cannot contain the ',' symbol !!!
Com. javer. Test. Struts. Hello. Error = enter <I> name </I>!
[Application_zh_cn.properties ]:
Hello. jsp. Title = Hello struts/uff01
Hello. jsp. Page. Heading = struts/u8d85/u7b80/u5355/u5165/u95e8/uff01
Hello. jsp. Prompt. Person =/u8bf7/u8f93/u5165/u540d/u5b57/uff1a
Com. javer. test. struts. hello. unallowed. person =/u540d/u5b57/u4e2d/u4e0d/u80fd/u5e26/u2018,/u2019/u7b26/u53f7/uff01/uff01/uff01/uff01
Com. javer. Test. Struts. Hello. Error =/u8bf7/u8f93/u5165 <I>/u540d/u5b57 </I>/uff01
Start Tomcat and access http: // locahost/struts/Hello. jsp. Is everything okay ?!