title: Condition checking inside a Display tag
body: <p>I am displaying a student list(Name ,Mark, Result) using display tag in my struts 2 application.</p>
  
  <p>if student scored more than 80 i need to display the entire row in green color else i need to display it 
  in red color .Below is my scenario , i am not familiar with display tag, please help me to solve this issue.</p>
  
  <pre><code>&lt;display:table name="studentList" id = "student" cellspacing="1px" class="center"&gt;
  
  &lt;display:caption class="caption"&gt;&lt;b&gt;Student Mark List&lt;/b&gt;&lt;/display:caption&gt;
  
  if(mark&gt;=80)
  {
  &lt;display:column title="Student Name" property="name" class="green"&gt; &lt;/display:column&gt;
  &lt;display:column title="Student Mark" property="mark" class="green"&gt;&lt;/display:column&gt;
  &lt;display:column title="Student Result" property="result" class="green"&gt; &lt;/display:column&gt;
  }
  else
  {
  &lt;display:column title="Student Name" property="name" class="red"&gt; &lt;/display:column&gt;
  &lt;display:column title="Student Mark" property="mark" class="red"&gt;&lt;/display:column&gt;
  &lt;display:column title="Student Result" property="result" class="red"&gt; &lt;/display:column&gt;
  }
  </code></pre>
  
  <p></p>
  
  <p>Thanks in advance.</p>