Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Carole Walker   on Sep 11 In Java Category.

  
Question Answered By: Dinh Tran   on Sep 11

Sounds like you have some uninitialized variables. Try
making a constructor for your bean  then inialize the
variables there. In addition to that, you might want
your accessor functions (getters) to do something like
this.

public void setSomeValue(String str){
if(str == null) someValue = "";
else someValue = str;
}

Share: 

 
 
Didn't find what you were looking for? Find more on problems with jsp bean Or get search suggestion and latest updates.


Tagged: