Hi Paul,

Below is a part of my "HomePage.java".  Should I not be using
"setStateful(true)" in my "HomePage.java"?



Setting pages to stateful means they are placed in the users Session.

So unless you really want to have the HomePage carry state across requests, I would not recommend it. Especially for public web sites where the amount of visitors are unlimited and a stateful pages could use up quite a bit of memory. But this is just a generalization and each app is different, so perhaps a stateful HomePage is justified in your case.


...
public class HomePage extends BorderPage implements Serializable {


You should probably specify the serial version id as well:

public class HomePage extends BorderPage implements Serializable {

    private static final long serialVersionUID = 1L;

    public HomePage() {

    }
}

kind regards

bob

Reply via email to