Johncan you post the code you are implementingjspsActionServlet
as well as the configuration filesweb.xmlany struts*.xml
Thanks/Martin ______________________________________________Disclaimer and
confidentiality noteEverything in this e-mail and any attachments relates to
the official business of Sender. This transmission is of a confidential nature
and Sender does not endorse distribution to any party other than intended
recipient. Sender does not necessarily endorse content contained within this
transmission.> Date: Sat, 5 Jan 2008 11:30:45 -0700> From: [EMAIL PROTECTED]>
Subject: Re: S2: chart result type not recognized> To: user@struts.apache.org>
> Hi Ian,> > thanks for your reply. For testing purposes, I'm simply calling it
via URL:> >
http://localhost:8080/viewer-commons-2.0/chart/serverIronLoadChart.action> >
Strangely, I was able to get the chart example from the docs to run in> new
context, I just can't seem to be able to integrate it into a more> complex
existing application. I'm assuming that the result type is not> being
recognized, but don't see any errors in the logs and don't know> how to pursue
debugging the problem.> > By the way, I really enjoyed your recent Struts2
book!> > > --john> > ----- Original Message -----> From: Ian Roughley <[EMAIL
PROTECTED]>> Date: Friday, January 4, 2008 7:43 am> Subject: Re: S2: chart
result type not recognized> > > How are you referencing the action? I always
use an img tag like > > this:> > <img src="serverIronLoadChart.action" />> > >
> /Ian> > > > -- > > Ian Roughley> > From Down & Around, Inc.> > Consulting *
Training / Mentoring * Agile Process * Open Source> > web: http://www.fdar.com
- email: [EMAIL PROTECTED]> > > > > > > > John Cartwright wrote:> > > Hello
All,> > >> > > I'm having a little trouble getting a chart result type > >
configured > > > using the package declaration below. Whenever I hit the > >
associated > > > URL, my browser prompts me to save a "bin" file rather than >
> > displaying the chart. The bin file is a valid png, but somehow > > Struts >
> > is not recognizing the returned type. Can anyone suggest what > > I'm > > >
doing wrong?> > >> > > Thanks!> > >> > > -- john> > >> > >> > > <package
name="chart" extends="jfreechart-default" > > namespace="/chart">> <action
name="serverIronLoadChart"> > > > >
class="gov.noaa.eds.arcims.tng.action.ServerIronLoadChartAction">> > > <result
type="chart">> > > <param name="width">400</param>> > > <param
name="height">300</param>> > > </result>> > > > > > </package>> > >> > >
------------------------------------------------------------------> > ---> > >
To unsubscribe, e-mail: [EMAIL PROTECTED]> > > For additional commands, e-mail:
[EMAIL PROTECTED]> > >> > > >
--------------------------------------------------------------------> > -> > To
unsubscribe, e-mail: [EMAIL PROTECTED]> > For additional commands, e-mail:
[EMAIL PROTECTED]> > > > > >
---------------------------------------------------------------------> To
unsubscribe, e-mail: [EMAIL PROTECTED]> For additional commands, e-mail: [EMAIL
PROTECTED]>
_________________________________________________________________
Make distant family not so distant with Windows Vista® + Windows Live™.
http://www.microsoft.com/windows/digitallife/keepintouch.mspx?ocid=TXT_TAGLM_CPC_VideoChat_distantfamily_012008