hi, i tried this way: <s:set name="C" value="@com.company.Constants" />
<s:property value="[EMAIL PROTECTED]" /> but its not working nor it throws an exception if its wrong way of doing. any help? cheers, ravi Wes Wannemacher wrote: > > > http://struts.apache.org/2.x/docs/set.html > > > > On Mon, 2008-04-28 at 08:17 -0700, ravi_eze wrote: >> hi, >> >> we want to access the constants in our jsp page. So we are proceeding as >> follows: >> >> < s:text field name="[EMAIL PROTECTED]@STATIC_CONSTANTS1]" /> >> >> the problem with this is that we need to repeat the >> @com.company.Constants >> always. So is there a simple way to get this working? I wanted to try out >> <S:bean and <s:Push... but no luck... >> >> please help. >> >> cheers, >> ravi >> >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Simplified-usage-of%3A%40com.company.Constants.StaticCOnstants-tp16941171p16952906.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]