I want to use current year value in properties file, it should be send to <s:text> tag as a parameter using <s:param> tag with new Date().getFullYear() value.
-
question is not clear what you trying to achieve here.provide more detailsUmesh Awasthi– Umesh Awasthi2012-02-02 10:21:02 +00:00Commented Feb 2, 2012 at 10:21
-
1Have you tried <s:property value="new Date().getFullYear"/> and if so why do you need to store the current year in property file? Anyways if that gives the expected result you can set it into a parameter and would probably be a lot easier to read in a jsp.Quaternion– Quaternion2012-02-02 17:50:20 +00:00Commented Feb 2, 2012 at 17:50
Add a comment
|