RE: Dealing with nulls

2005-09-06 Thread Murray Collingwood
September 2005 00:00 To: user@struts.apache.org Subject: Dealing with nulls Hi all Just like to say I really appreciate the help you guys provide us newbies. I'm looking forward to the day I will be able to help others... What convention do people normally use for dealing with NULL

Re: Dealing with nulls

2005-09-06 Thread Kishore Senji
If the value of endDate is null the page fails with an error message from beanutils. I think if the endDate is null, the html:text/ would silently put empty string as the value. Wondering if the exceptions you are seeing are causing by something else. What is the exception by the way?

Re: Dealing with nulls

2005-09-06 Thread Jason Lea
Whether you store nulls in your database is really a design decision you should be making based on your requirements. Taking the date example for a moment. If the date is required then it shouldn't be able to be null in the database and a record shouldn't be created until you have a valid

RE: Dealing with nulls

2005-09-06 Thread Mark Benussi
Subject: Dealing with nulls Hi all Just like to say I really appreciate the help you guys provide us newbies. I'm looking forward to the day I will be able to help others... What convention do people normally use for dealing with NULL values from an SQL database? I can retrieve them okay. I can

Dealing with nulls

2005-09-05 Thread Murray Collingwood
Hi all Just like to say I really appreciate the help you guys provide us newbies. I'm looking forward to the day I will be able to help others... What convention do people normally use for dealing with NULL values from an SQL database? I can retrieve them okay. I can store them in my form