struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject More package weirdness
Date Mon, 03 Mar 2008 17:43:13 GMT
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=


<result-type name="chart" class="org.apache.struts2.dispatcher.ChartResult"


<action name="questionChart" class="acme.action.QuizGrader">


<param name="width">400</param>

<param name="height">300</param>





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