The questionChart action exists in a different namespace than the JSP. Try - namespace="/charts"
The leading / is significant. -Wes On 3/3/08, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > How can this JSP code > > <s:url id="chartUrl" action="questionChart" namespace="*charts*"/> > <img src="<s:property value="%{chartUrl}" />"/> > > which resolves to be: > > <img src="charts/questionChart.action"/> > > > be generating this exception? > 11:28:45,271 ERROR > org.apache.struts2.dispatcher.Dispatcher.serviceAction():512 > - Could not find action or result > There is no Action mapped for namespace */quiz* and action name > questionChart. - [unknown location] > > Here is my def for the chart: > > > <package name="charts" namespace="/charts" extends= > "starter,jfreechart-default"> > > <result-types> > > <result-type name="chart" class="org.apache.struts2.dispatcher.ChartResult" > default="true"/> > > </result-types> > > <action name="questionChart" class="acme.action.QuizGrader"> > > <result> > > <param name="width">400</param> > > <param name="height">300</param> > > </result> > > </action> > > </package> > > > > -- > Scott > [EMAIL PROTECTED] > -- Wesley Wannemacher President, Head Engineer/Consultant WanTii, Inc. http://www.wantii.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]