On Jul 7, 10:55 am, "Ikai L (Google)" <ika...@google.com> wrote: > If you already have EL enabled with this tag at the top of your page: > > <%@ page isELIgnored="false" %> > > Can't you just use this? > > <blockquote>${g.content}</blockquote> >
I tried that - just empty output. I was able to get it to work by doing pageContext.setAttribute(). It seems like there are better ways (i.e. Spring, which I'm working on now. > > On Mon, Jul 5, 2010 at 9:44 PM, decitrig <rws...@gmail.com> wrote: > > In the tutorial, I've added the following to the guestbook.jsp file: > > > <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> > > > and made changed this: > > > <p><b><%= g.getAuthor().getNickname() %></b> wrote:</p> > > <% > > } > > %> > > <blockquote><c:out value="${g.content}" /></blockquote> > > <% > > } > > } > > pm.close(); > > %> > > > I get no output from the c:out tag. I've tried a bunch of different > > variations and nothing seems to work: I can get a medley of my > > favorite exceptions, or no output, or the the literal text of the > > expression I was hoping to evaluate. I have searched around, and I can > > confirm the following: > > > I have isELIgnored="false", I do not have any JSLT jar in my WEB-INF/ > > lib directory. I also tried a <jsp:useBean id="g" > > class="guestbook.Greeting" /> tag, but I got an error about the value > > for the "class" attribute being invalid. Please help? I'm happy to > > provide additional code or debugging output, if someone can point me > > in the right direction. > > > PS. Might I respectfully submit that this would be a good thing to > > include in the tutorial? > > > -- > > You received this message because you are subscribed to the Google Groups > > "Google App Engine for Java" group. > > To post to this group, send email to > > google-appengine-j...@googlegroups.com. > > To unsubscribe from this group, send email to > > google-appengine-java+unsubscr...@googlegroups.com<google-appengine-java%2B > > unsubscr...@googlegroups.com> > > . > > For more options, visit this group at > >http://groups.google.com/group/google-appengine-java?hl=en. > > -- > Ikai Lan > Developer Programs Engineer, Google App Engine > Blog:http://googleappengine.blogspot.com > Twitter:http://twitter.com/app_engine > Reddit:http://www.reddit.com/r/appengine -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.