Make sure your jsp starts with the correct song and dance for GAE: <?xml version="1.0" encoding="ISO-8859-1" ?>
<%-- isElIgnored="false" needed for GAE --%> <%@ page contentType="text/html;charset=ISO-8859-1" language="java" isELIgnored="false" %> The critical line is the isElIgnored in the <%@page directive. See the three red stars item here: http://groups.google.com/group/google-appengine-java/web/will-it-play-in-app-engine On 2011-05-20 12:38, Laurent Pellegrino wrote: >> Hi Laurent, >> can you try to add the following to your jsp: >> <h1>${actionBean.results}</h1> >> and write what the output is? > I got<h1>my.package.MyObject@7de91c98, my.package.MyObject@96dd3c2, > my.package.MyObject@e1631af4, my.package.MyObject@93754dd9]</h1> > > Hence, I think there is something wrong in the foreach JSP code but I > don't see what. > >> Regards, >> Richard >> >> On Fri, May 20, 2011 at 7:22 PM, Laurent Pellegrino >> <laurent.pellegr...@gmail.com> wrote: >>> Hi all, >>> I have an ActionBean which has the following field with its associated >>> getter and setter: >>> private List<MyObject> results; >>> The ArrayList is created and populated in the DefaultHandler method. Then, I >>> want to print the results list value in my JSP. The JSP file contains the >>> following lines: >>> <c:forEach items="${actionBean.results}" var="result"> >>> <p>${result.myField}</p> >>> </c:forEach> >>> The MyObject instances contain a field myField with its associated getter >>> and setter. Moreover, when I add a sysout before to return the Resolution in >>> my DefaultHandler method I can see that my list contains several entries. My >>> issue is that nothing is print to the screen. >>> Does my JSP code is wrong? >>> Kind Regards, >>> Laurent >>> ------------------------------------------------------------------------------ >>> What Every C/C++ and Fortran developer Should Know! >>> Read this article and learn how Intel has extended the reach of its >>> next-generation tools to help Windows* and Linux* C/C++ and Fortran >>> developers boost performance applications - including clusters. >>> http://p.sf.net/sfu/intel-dev2devmay >>> _______________________________________________ >>> Stripes-users mailing list >>> Stripes-users@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/stripes-users >>> >>> >> >> >> -- >> Richard Hauswald >> Blog: http://tnfstacc.blogspot.com/ >> LinkedIn: http://www.linkedin.com/in/richardhauswald >> Xing: http://www.xing.com/profile/Richard_Hauswald >> >> ------------------------------------------------------------------------------ >> What Every C/C++ and Fortran developer Should Know! >> Read this article and learn how Intel has extended the reach of its >> next-generation tools to help Windows* and Linux* C/C++ and Fortran >> developers boost performance applications - including clusters. >> http://p.sf.net/sfu/intel-dev2devmay >> _______________________________________________ >> Stripes-users mailing list >> Stripes-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/stripes-users > ------------------------------------------------------------------------------ > What Every C/C++ and Fortran developer Should Know! > Read this article and learn how Intel has extended the reach of its > next-generation tools to help Windows* and Linux* C/C++ and Fortran > developers boost performance applications - including clusters. > http://p.sf.net/sfu/intel-dev2devmay > _______________________________________________ > Stripes-users mailing list > Stripes-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/stripes-users ------------------------------------------------------------------------------ What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users