Meaningless Drivel is fun!*
The moose likes JSP and the fly likes default value for c:out tag in table Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "default value for c:out tag in table" Watch "default value for c:out tag in table" New topic
Author

default value for c:out tag in table

Sekhar Chand
Ranch Hand

Joined: Apr 05, 2006
Posts: 73
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

Joined: Nov 24, 2005
Posts: 14687
    
  16

So i want to print the default value in that column

You mean printing " " ?


[My Blog]
All roads lead to JavaRanch
Sekhar Chand
Ranch Hand

Joined: Apr 05, 2006
Posts: 73
Yes.
sorry for the late reply
please give me the relevant solution
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61106
    
  66

Did you look in the JSTL Specification for <cut> to see if there are any features of it that can help you?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Michael Ku
Ranch Hand

Joined: Apr 20, 2002
Posts: 510
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 :-)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: default value for c:out tag in table