Mohammed,
While it may not work in all browsers, you can try the "empty-cells" CSS
property in the table's style.
Render the table tag thusly: <table style="empty-cells: show;">...</table>
An alternative is what the other guy said; simply check for nulls before
rendering, and render a non-breaking space if you have a null. I'd
shoot for using EL rather than pure java for that though.
Good luck!
Brantley
Mohammed Zabin wrote:
Hi All
Anyone knows how to deal with null values in JDBC ResultSet??
I am trying to render a table in jsp page that read its value from the
database, sometimes, the database returns null values, and so, the whole
table couldn't be rendered. Is there any way to deal with null values.
Thanks
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]