struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ravi_eze <>
Subject Re: Simplified usage
Date Tue, 12 Aug 2008 05:16:28 GMT


Thanks for the reply.

We had done with the old approach (@com....@xxx). 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.


ravi_eze wrote:
> hi,
> we want to access the constants in our jsp page. So we are proceeding as
> follows:
> < s:text field name="map[]" />
> the problem with this is that we need to repeat the
> 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="" id="C" ></s:bean>
> < s:property value="#C.POKER_TOTAL_DEPOSITS" />
> please help.
> cheers,
> ravi 

View this message in context:
Sent from the Struts - User mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message