Hmm... that's a bit of a mystery.  I don't really have any answers, but maybe 
if I ask some questions it will help :shrug:

>From what I can tell, the buildTonnageGrid() method is a local method in the 
>action that sets up some local or session values and returns nothing.  Is that 
>correct?  Other than that I'm not sure where else to look :/

Nathan



----- "Rob Hills" <[EMAIL PROTECTED]> wrote:
> Hi Nathan,
> 
> Nathan Anderson wrote:
> > Hi Rob, 
> >
> > Shouldn't that Struts XML snippet look like this?
> >
> > <action name="deliveryTonnage" 
> > class="au.com.myapp.webapp.action.DeliveryTonnageAction"
> > method="list">
> >     <result name="success">/WEB-INF/pages/shiftList.jsp</result>
> > <!--
> >     <result>/WEB-INF/pages/deliveryTonnageList.jsp</result>
> > -->
> > </action>
> >
> > Also I think all of my actions have at least 2 <result> tags, the
> other one being "input".
> >   
> This one is modeled on several others (that are working) that were 
> originally taken from the example in the Struts2 tutorial:
> 
> http://www.appfuse.org/display/APF/Using+Struts+2#UsingStruts2-listview
> 
> (the struts.xml snippet is a page below the anchor that the above URL
> 
> takes you to).
> 
> The page will be a "view only" page, so AFAICT, I will only need to 
> define the default result. That said, I've previously tried
> specifically 
> naming it "success" exactly as you have suggested and got exactly the
> 
> same error.  When I read back through the relevant part of the
> tutorial 
> (around the URL above) I realised that I only needed to supply a
> default 
> (unnamed) result as I have done in my other "view" actions that work.
> 
> Cheers,
> Rob Hills
> Waikiki, Western Australia
> 
> ---------------------------------------------------------------------
> 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]

Reply via email to