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 <mgor...@shadowtv.biz> > 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 > > return CAjustComment; > > } > > > > but i got this error, any one has an idea? > > > > start with the simple stuff: is CAjustComment definitely non-null, > at that point? > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- Elyes.