vehicle is de action and list is the method in that action. so the method list is called and the result is pushed onto the var (id is deprecated) action
you should be able to use the result in some kind of iterator and call it with the name action <s:iterator value="#action"> - <s:property/><br> </s:iterator> see: http://struts.apache.org/2.1.2/docs/action.html tibi spsarolkar wrote: > Now its working > I did moved vehicle.jsp to webapp/ instead of WEB-INF/pages and forgot to do > changes in structs .xml > But i still want to know what vehicle!list means > > spsarolkar wrote: > >> I am new to struts2 and to appFuse >> I am reading apFusePrimer >> I am trying first program. Everything works perfect but the vehicles list >> is not getting printed >> I typed in whatever was present at book page >> http://books.google.com/books?id=oKIVgjnFwvwC&pg=PA28&lpg=PA28&dq=The+Appfuse+Primer+download&source=bl&ots=c-kpCgiUFN&sig=XYEbql3qNW-Zyy5fvaQO3f9ahUQ&hl=en&ei=u-ZqSuf7FsOQkQWUgK2cCw&sa=X&oi=book_result&ct=result&resnum=7 >> http://books.google.com/books?id=oKIVgjnFwvwC&pg=PA28&lpg=PA28&dq=The+Appfuse+Primer+download&source=bl&ots=c-kpCgiUFN&sig=XYEbql3qNW-Zyy5fvaQO3f9ahUQ&hl=en&ei=u-ZqSuf7FsOQkQWUgK2cCw&sa=X&oi=book_result&ct=result&resnum=7 >> >> (PAGE 43) >> >> I didn't understood following line and that is the line which is not >> working >> >> <s:action name="vehicle!list" id="action" namespace="default" /> >> >> It is showing me incremented number of vehicles i.e. 1,2,3.. but not names >> and detaiils When i checked database table using mysql console it shows me >> the values >> >> > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net For additional commands, e-mail: users-h...@appfuse.dev.java.net