struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <davelnew...@gmail.com>
Subject Re: Why ActionProxy is used
Date Fri, 28 Jan 2011 12:07:47 GMT
http://struts.apache.org/2.x/struts2-core/apidocs/com/opensymphony/xwork2/ActionProxy.html

<http://struts.apache.org/2.x/struts2-core/apidocs/com/opensymphony/xwork2/ActionProxy.html>
Dave

On Fri, Jan 28, 2011 at 6:57 AM, Nuwan Arambage <nuwan.arambage@gmail.com>wrote:

> yes . I got it.. then I do have a another simple question. how does
> ActioProxy is created. is it a bytecode manipulation or other
> technique ?. I just need to clear things out
>
> Thanks
> Nuwan
>
>
> ---------- Forwarded message ----------
> From: Jordi Fernández <jordi.fernandez@esilog.com>
> Date: 2011/1/28
> Subject: Re: Why ActionProxy is used
> To: Struts Users Mailing List <user@struts.apache.org>
>
>
> ActionProxy is decorating
> (http://en.wikipedia.org/wiki/Decorator_pattern) the Action class you
> currently write by executing the interceptor stack defined by
> configuration in struts.xml.
>
> On Fri, Jan 28, 2011 at 12:05 PM, Nuwan Arambage
> <nuwan.arambage@gmail.com> wrote:
> > yeah I got you idea. it does simplify the entire struts architecture.
> > so thing is thing.. as a design decision , why struts2 designers made
> > the it interceptor call via ActionProxy class.What is the fundamental
> > reason for that
> >
> > thanks
> >
> > Nuwan
> >
> >
> > ---------- Forwarded message ----------
> > From: Jordi Fernández <jordi.fernandez@esilog.com>
> > Date: 2011/1/28
> > Subject: Re: Why ActionProxy is used
> > To: Struts Users Mailing List <user@struts.apache.org>
> >
> >
> > Have you already seen this?
> > http://struts.apache.org/2.2.1/docs/big-picture.html
> >
> > On Fri, Jan 28, 2011 at 10:32 AM, Nuwan Arambage
> > <nuwan.arambage@gmail.com> wrote:
> >> Hi all ,
> >>  this might be a trivial question and I hope  this is the right place
> >> to raise my question.
> >> Why do stuts2 implementers use ActionProxy. What is the purpose of the
> >> this class.
> >>
> >> I have read the description given in the core developer guide.Yet I
> >> didn't get the idea.I appreciate if somebody can simplify the idea of
> >> ActionProxy.
> >>
> >> Thanks & Regards,
> >>
> >> Nuwan Arambage
> >>
> >>
> >> --
> >>  Fail again. Fail better
> >>
> >> With Regards ,
> >> Nuwan  Arambage
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> >> For additional commands, e-mail: user-help@struts.apache.org
> >>
> >>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > For additional commands, e-mail: user-help@struts.apache.org
> >
> >
> >
> >
> > --
> >  Fail again. Fail better
> >
> > With Regards ,
> > Nuwan  Arambage
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > For additional commands, e-mail: user-help@struts.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
>
>
> --
>  Fail again. Fail better
>
> With Regards ,
> Nuwan  Arambage
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

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