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
Maurizio Cucchiara wrote:
>
> I'm not sure what you mean.
> What's the benefit of inversion of control? or struts constant?
>
> 2010/10/25 SudhirJava :
>>
>> Can any
I'm not sure what you mean.
What's the benefit of inversion of control? or struts constant?
2010/10/25 SudhirJava :
>
> Can anybody please tell me
> What is the Benefit of this ?
> I can define it in web.xml can retrieve it.
>
> What is the main purpose of this??
>
>
> ~SK
>
>
> SudhirJava wrote:
Can anybody please tell me
What is the Benefit of this ?
I can define it in web.xml can retrieve it.
What is the main purpose of this??
~SK
SudhirJava wrote:
>
> Thanks.
> That works...
>
> I think it should be value instead of name
> i.e.
> @Inject(value="myConstant")
> instead of
> @Inje
Yes, both of those plugins work, but there is some configuration you have to do
to make your actions use them.
This is a good starting point:
http://struts.apache.org/2.x/docs/rest-plugin.html#RESTPlugin-Example
- Original Message
From: stanlick
To: user@struts.apache.org
Sent: Sun, O
I fired up a new 2.2.1 project this morning to see what's new and have a
quick question. Does the config-browser work out of the box with rest and
convention plug-ins? Everything works fine except this url:
http://localhost:8080/rest/config-browser/index.action
which is producing the glorious
5 matches
Mail list logo