What does the config browser think your configuration is? I don't know if having two packages with the same namespace would work or not; I've never tried it. Doesn't strike me as a good idea even if it did work, though.
--- swaddee <[EMAIL PROTECTED]> wrote: > > I recently started using struts 2 by experimenting > with webwork and then > moving to struts 2. I want to produce some charts > using jfreechart. After > getting the example > (http://wiki.opensymphony.com/display/WW/JFreeChartResult) > to work using the > webwork framework I tried it with struts > 2(http://struts.apache.org/2.x/docs/jfreechart-plugin.html). > I have not had > any success. > > I'd really appreciate it if someone could help get > me past this obstacle. > (the first action is working correctly) > > Thanks in advance! > > > ========================================================================= > Here is my struts.xml > > <?xml version="1.0" encoding="UTF-8" ?> > > > > <!DOCTYPE struts PUBLIC > > > > "-//Apache Software Foundation//DTD Struts > Configuration 2.0//EN" > > > "http://struts.apache.org/dtds/struts-2.0.dtd"> > > > > > > > > <struts> > > > > > > > > <constant > name="struts.enable.DynamicMethodInvocation" > value="false" /> > > > <constant name="struts.devMode" value="true" /> > > > > > > > > <package name="ccbill" namespace="/ccbill" > extends="struts-default"> > > > > > > > <action name="UserAgentForm" > class="com.ccbill.IncludeTag"> > > > > <result>/pages/UserAgentStringForm.jsp</result> > > > > </action> > > > > > > > > <!-- Add actions here --> > > > > <!-- > > > > <action name="viewModerationChart" > class="charts.ViewModerationChartAction"> > > > <result name="success" type="chart"> > > > > 400 > > > 300 > > > </result> > > > > </action> > > > > --> > > > > > > > > </package> > > > > > > > > <!-- Add packages here --> > > > > <package name="charts" namespace="/ccbill" > extends="jfreechart-default"> > > > <action name="viewModerationChart" > class="charts.ViewModerationChartAction"> > > > <result name="success" type="chart"> > > > > 400 > > > 300 > > > </result> > > > > </action> > > > > </package> > > > > > > > > </struts> > > > Here is my ViewModerationChartAction.java file > > package charts; > > > > > > > > import com.opensymphony.xwork2.ActionSupport; > > > > import org.jfree.chart.JFreeChart; > > > > import org.jfree.chart.plot.XYPlot; > > > > import org.jfree.data.xy.XYSeries; > > > === message truncated === --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]