struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <>
Subject Re: [struts] Dynamic Results
Date Thu, 14 Feb 2008 23:27:15 GMT
--- wrote:
> The ChartAction extends ActionSupport.  Wouldn't the
> action-mapping-OGNL-parsing be looking for height/width getters on the
> ChartAction?

I think we're all talking past each other here.

It's the responsibility of the *result* to parse OGNL in its parameters: the
JFreeChart result doesn't do that.

If you look at the source of the JFreeChart result and compare it to
something like the servlet redirect result you'll notice that JFreeChart just
implements Result, whereas the the servlet result result extends

It's StrutsResultSupport that does the evaluation of parameters.


> On Thu, Feb 14, 2008 at 4:39 PM, Dale Newfield <> wrote:
> > wrote:
> > > I am puzzled at why S2 is not executing getHeight() on my ChartAction
> > > and substituting the height and weight into these params.
> >
> > This is done by StrutsResultSupport.  I would guess that whatever class
> > is implementing your chart result does not extend/leverage that
> > capability.
> >

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

View raw message