Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

default value for c:out tag in table

 
Sekhar Chand
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am facing some problem when i am working with jstl.
i am trying to populate my data by using c:forEach tag and table tag.
If there are any null values in my data,
in explorer table border is not coming clearly.
But in mozilla its coming clearly.
So i want to print the default value in that column,
but in table td tag its not working

Can any body help me on this.

Thanks
sekhar
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So i want to print the default value in that column

You mean printing " " ?
 
Sekhar Chand
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes.
sorry for the late reply
please give me the relevant solution
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64623
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you look in the JSTL Specification for <cut> to see if there are any features of it that can help you?
 
Michael Ku
Ranch Hand
Posts: 510
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bear, that was a great suggestion. Even though I did not post this question, I looked at the documentation for the tag and the answer jumped out immediately.
I was not aware of this capability. I will certainly use it in the future.

Thanks for making me find the answer myself :-)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic