Re: getter for a property problem

2009-02-06 Thread elyes sallem
in fact, CAjustComment can be null (the null problem i got it only with nested property, does this cause an exception with string property) Regards Elyes 2009/2/6 mitch gorman > elyes sallem wrote: > > Hello, > > i use a property in a jsp , "shortcomment" , which depend of another > > property

Re: getter for a property problem

2009-02-06 Thread mitch gorman
elyes sallem wrote: > Hello, > i use a property in a jsp , "shortcomment" , which depend of another > property, "CAjustComment": > > public String getShortcomment() { > if (CAjustComment.length()>15) > return CAjustComment.substring(0,14); > else >