1- add this line to the struts.xml file :
<constant name="struts.custom.i18n.resources" value="global" />
2-add the (global.properties) under source package
3-in the (global.properties)
connection.success.message=Connection Success %s
4-to use it in the action, just write the following :
getText("connection.success.message")
<constant name="struts.custom.i18n.resources" value="global" />
2-add the (global.properties) under source package
3-in the (global.properties)
connection.success.message=Connection Success %s
4-to use it in the action, just write the following :
getText("connection.success.message")
No comments:
Post a Comment