displaying null or "" values in a Table

folks<br />
<br />
I have the following code <br />
<br />
if(changedString == null || changedString.length() == 0){ <br />
changedString =" ";<br />
<br />
}<br />
<br />
where changedString is getting value from the database, Here i am checking for null or length == 0 on changedString , i need to display a blank value in JSP, Let me know how do i do this<br />
<br />
thanks <br />
km<!--content-->If you want to insert a null value into an HTML table using JSP, \&nbsp; should work. That inserts the HTML entity for a non-breaking space. That way the table cell will show up on the screen, but won't contain any contents.<br />
<br />
I'm just assuming you'll have to escape the ampersand like you do in most programming and scripting languages.<br />
<br />
Is that what you are asking for?<!--content-->
 
Back
Top