http://googcloudlabs.appspot.com/codelabexercise5.html
String searchFor = req.getParameter("q"); PrintWriter out = resp.getWriter(); if (searchFor == null || searchFor.equals("") || searchFor == "*") out.println(entityAPI.getAllProducts("Product")); else out.println(entityAPI.getProduct(searchFor)); this code is obviously wrong and generates exceptions. Please either put a note that this (and more similar) bug was introduced on purpose so that readers have a chance to exercise their debugging skills or fix the bug. P.S. I hope real Google products are written a bit more carefully :) -- 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-java@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.