Let your Action implements ApplicationContextAware interface.
On 6/22/07, Paul <[EMAIL PROTECTED]> wrote:
Probably a dumb question but does anyone have an example of the best way of
obtaining the web application context within a Struts 2 action?
I need to lookup and get a bean that I've config
rks has the same issue as Struts 2.0, but
when I sue the servletdispatcher everything is working just fine.
I have submitted a but to apache. I wish they would bring back the servlet
dispatcher code in struts 2.0 so that my apps would work.
On 6/15/07, Shibing. Chen <[EMAIL PROTECTED]> wro
I use tag and have this problem also.
I have coded a DebugFilter and applied it before FilterDispatcher. In
DebugFilter I output HttpServletRequest.getQueryString(), but it's
always null.
I'm so confused, is it a oc4j bug?
On 6/15/07, tom tom <[EMAIL PROTECTED]> wrote:
What exactly the tag you
Actually, struts2(version 2.0.6) don't support , check
the file struts-tag.tld, instead, you may have a try with
, setting the type attribute to date or time (date
is d default). works the same as
in WebWork.
The problem is, cant's work in AppFuse 2.xx but
works well independently. Matt, any i
Action chain can do that.
On 10/21/06, Jean-Marie Pitre <[EMAIL PROTECTED]> wrote:
Hi,
I would like to forward an Action to another one.
My problem is : I want to pass a data from my first first action to my
second formbean (second action).
I tried to do a setattribute in my first action befo
Actually you can do that in your action class with getText() methods.
On 10/19/06, Puneet Lakhina <[EMAIL PROTECTED]> wrote:
Hi ,
I want to obtain the value of a key from ApplicationResource.properties file
in my java code. Should i access the properties file directly or can i use
some classes i
@dependency.struts.config@ just a placeholder, it will be replace by
something related.
On 10/7/06, meena <[EMAIL PROTECTED]> wrote:
Hi
I have the following lines in web.xml
config
/WEB-INF/[EMAIL PROTECTED]@
Here struts-config.xml is ok.But what is the meaning of
@d
I think struts2 can achieve that cos WebWork result type has a parse param.
Check out WebWork doc for details.
On 9/22/06, Garner Shawn <[EMAIL PROTECTED]> wrote:
Is there any wat to map to dynamic results?
/product/%{dynamic_product}/default.jsp
--
8 matches
Mail list logo