title: How to display table data in Bold or color using jsp, javascript, css
body: <p>I have a web application which displays data from a database. It shows results in 0's or numbers. The numbers displayed should be bold or in some color. How do i do I display the results from database in bold in a webapplication.</p>
  
  <pre><code>&lt;svp:tbody rowCount="0" maxDisplayRows="100"&gt;
                                      &lt;logic:iterate id="Typ" name="Typ"&gt;
                                          &lt;logic:iterate id="ordType" name="ordTypes"&gt;
                                              &lt;TR&gt;
                                                  &lt;TD style="font-size: 9px"&gt;&lt;bean:write name="Type"
                                                          property="TCode" /&gt;&lt;/TD&gt;
                                                  &lt;TD style="font-size: 9px"&gt;&lt;bean:write
                                                          name="Type" property="descr" /&gt;&lt;/TD&gt;
                                                  &lt;%
                                                      for (int i = 0; i &lt; 8; i++) {
                                                                                  String idStr = i + "_order";
                                                  %&gt;
                                                  &lt;TD style="font-size: 9px"&gt;&lt;INPUT class="inactive"
                                                      readonly="readonly"
                                                      id="${Typ.TCode}_${oType.OTypCode}_&lt;%=idStr%&gt;"
                                                      type="text" size="10" value="0"&gt;&lt;/TD&gt;
                                                  &lt;%
                                                      }
                                                  %&gt;
                                              &lt;/TR&gt;
                                          &lt;/logic:iterate&gt;
                                      &lt;/logic:iterate&gt;
                                  &lt;/svp:tbody&gt;
  </code></pre>