Re: [appengine-java] NPE at jsp:useBean with scope session

2011-02-08 Thread Louis H.
Indeed, I had sessions disabled. (I missed they are disabled by default). Thanks for reply. Problem solved. -- 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

Re: [appengine-java] NPE at jsp:useBean with scope session

2011-02-08 Thread Stephen Johnson
Glad to help! On Tue, Feb 8, 2011 at 3:16 AM, Louis H. cute...@gmail.com wrote: Indeed, I had sessions disabled. (I missed they are disabled by default). Thanks for reply. Problem solved. -- You received this message because you are subscribed to the Google Groups Google App Engine for

[appengine-java] NPE at jsp:useBean with scope session

2011-02-07 Thread Louis H.
Hi, I am trying jsp form handling via bean and I am wondering why this jsp page gives me an NPE after submitting. This happening with scope session (when I change scope to page it's working correctly): *%@ page contentType=text/html;charset=UTF-8 language=java %* *jsp:useBean id=testik

Re: [appengine-java] NPE at jsp:useBean with scope session

2011-02-07 Thread Stephen Johnson
Do you have sessions enabled for your application? On Mon, Feb 7, 2011 at 5:39 AM, Louis H. cute...@gmail.com wrote: Hi, I am trying jsp form handling via bean and I am wondering why this jsp page gives me an NPE after submitting. This happening with scope session (when I change scope to

Re: [appengine-java] NPE at jsp:useBean with scope session

2011-02-07 Thread Stephen Johnson
Also, beans should implement the java.io.Serializable interface if you are going to store them in the Session object. On Mon, Feb 7, 2011 at 10:12 PM, Stephen Johnson onepagewo...@gmail.comwrote: Do you have sessions enabled for your application? On Mon, Feb 7, 2011 at 5:39 AM, Louis H.