just need to do something like:
@Inject("the.constant")
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.
musachy
On Fri, Mar
Alex,
You can find example applications at:
http://struts.apache.org/download.cgi
Look for file: struts-2.1.6-apps.zip . It has several examples to get you
started.
Hope this helps.
Kumar.
--- On Mon, 3/30/09, Àlex Camps Mezquita wrote:
From: Àlex Camps Mezquita
Subject: beginner
T
Nilay,
As you can see Attributes for action from:
http://struts.apache.org/dtds/struts-2.0.dtd
There is no configuration that would let you do that. However you can do this
programatically by using ServletActionContext.getRequest().getMethod()
Hope this helps.
Kumar.
--- On Fri, 3/27/09
t
you just need to do something like:
@Inject("the.constant")
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.
musachy
On Fri
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.
5 matches
Mail list logo