7;s just an @Inject.
>
> On Mon, Oct 25, 2010 at 2:55 AM, SudhirJava wrote:
>>
>> Struts Constants.
>> I can define in web.xml and get the value in Action class too.
>> Then what is the use of Struts Constants?
>>
>>
>> ~SK
>
>
--
View this m
I think it should be value instead of name
>>>> i.e.
>>>> @Inject(value="myConstant")
>>>> instead of
>>>> @Inject(name="myConstant")
>>>>
>>>>
>>>> ~SK
>>>>
>>>>
>>>>
;> ~SK
>>>
>>>
>>> rahulmohan wrote:
>>>>
>>>> Just put an @Inject(name="MYCONSTANTVARIABLE") annotation on the setter
>>>> in
>>>> action class.
>>>>
>>>> - RM
>>>>
>>>>
>
t;
>>
>> ~SK
>>
>>
>> rahulmohan wrote:
>>>
>>> Just put an @Inject(name="MYCONSTANTVARIABLE") annotation on the setter
>>> in
>>> action class.
>>>
>>> - RM
>>>
>>>
>>>
>>> From
d is repeated.
>>
>> Please tell tell me how get the value of Constants defined in struts.xml.
>> Is it possible to get the value of "MYCONSTANTVARIABLE" in action class.
>>
>>
ction class.
>
> - RM
>
>
>
> From:
> SudhirJava
> To:
> user@struts.apache.org
> Date:
> 21-10-2010 17:58
> Subject:
> How to get the value of Constants defined in struts.xml
>
>
>
>
> I am sorry, if this thread is repeated.
>
> Please t
Just put an @Inject(name="MYCONSTANTVARIABLE") annotation on the setter in
action class.
- RM
From:
SudhirJava
To:
user@struts.apache.org
Date:
21-10-2010 17:58
Subject:
How to get the value of Constants defined in struts.xml
I am sorry, if this thread is repeated.
Please te
to get the value of "MYCONSTANTVARIABLE" in action class.
>
>
>
>
> Thanks
> Sudhir
> --
> View this message in context:
> http://old.nabble.com/How-to-get-the-value-of-Constants-defined-in-struts.xml-tp30019022p30019022.html
> Se
I am sorry, if this thread is repeated.
Please tell tell me how get the value of Constants defined in struts.xml.
Is it possible to get the value of "MYCONSTANTVARIABLE" in action class.
Thanks
Sudhir
--
View this message in context:
http://old.nabble.com/How-to-get-the-value-of
9 matches
Mail list logo