struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kumar Mettu <>
Subject Re: using inject with Convention Plugin
Date Sat, 28 Mar 2009 00:24:28 GMT
Works Great. Thanks.

--- On Fri, 3/27/09, Musachy Barroso <> wrote:

From: Musachy Barroso <>
Subject: Re: using inject with Convention Plugin
To: "Struts Users Mailing List" <>
Date: Friday, March 27, 2009, 12:55 PM

There is no documentation about it. Don't tell anyone I told you, but
you just need to do something like:

public void setSomeConstant(String constant) {

and the value of the constant with key "the.constant" will be
injected. You can also inject by type, like the "Container" instance
and so on.


On Fri, Mar 27, 2009 at 3:48 PM, Kumar Mettu <> wrote:
> Hi,
>   I am looking for a way to inject resources while using Convention Plugin. I can't
find any relevant docs. Can someone point me in right direction?
> Thanks,
> Kumar.

"Hey you! Would you help me to carry the stone?" Pink Floyd

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

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message