Hello all, I am using the request.getInputStream().read() and the return value is always -1. Here is my code
public void doPost(HttpServletRequest req, HttpServletResponse resp) throws IOException, ServletException { resp.getWriter().println(req.getInputStream().read()); resp.getWriter().println(req.getParameter("name")); } I am getting -1 for the first print but I am able to get the post parameter for the second. Can someone help me in solving this Issue ? Thanks, Pradeep. -- 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.