Please ask this question to the Struts Users mailing list:
http://struts.apache.org/mail.html

Antonio

2008/1/11, arunabh <[EMAIL PROTECTED]>:
>
>
> hi ,
> I have a requirement to get the value of  label key , which is there in
> the
> ApplicationResources.properties file .
>
> Let me explain with an example :-
>
> In my Jsp i get my label like
>
> <fmt:message key="cust.firstName"/>
>
>   In my ApplicationResources.properties file i have mapped this key to
> some
> value as :-
> cust.firstName=First Name
>
>    Now my requirement is that , i want to anyhow get  the
> ApplicationResources.properties value of the Key in my action class .
> That means in the above example First Name i want to get in the action
> class
> .
>
>    Let me tell you I use Struts 2 in my application . I have tries with
> <s:label key="cust.firstName">. This does create a label First Name in the
> UI . But again i am not able to access the same in the action class (It's
> neither available in request parameter nor in the value stack ). Means I
> am
> not able to get the First Name label value in the action class .
>
> Can some one provide me some guide lines how to achieve the target .
>
> Thank you
> Arunabh
>
>
>
> --
> View this message in context:
> http://www.nabble.com/Want-to-get-the-value-of-label-key-which-is-there-in-the-ApplicationResources.properties-in-action-class-tp14751442p14751442.html
> Sent from the Struts - Dev mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to