hi, Thanks for the reply.
We had done with the old approach (@[EMAIL PROTECTED]). However i think we can write an interceprotor read the constants (through java reflections) and put them in request scope. THe page can access them from there. The problem with this is that the action class variable names shouldnt conflict with constants names. We got this idea a few days back. Though we didnt validate it i see this as a potential soln. Any how thanks once again for your help. I shall try to use it. regards, ravi 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... > > i tried out this way: > > < s:bean name="com.company.framework.Constants" id="C" ></s:bean> > < s:property value="#C.POKER_TOTAL_DEPOSITS" /> > > please help. > > cheers, > ravi > > > -- View this message in context: http://www.nabble.com/Simplified-usage-of%3A%40com.company.Constants.StaticCOnstants-tp16941171p18938195.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]