title: How can I change my Table content status
body: <p>I have a table.jsp file where I am getting some data from the backend. One of the field in table is status. In the status, I am getting two number like "1" and "0". But I want to show "1" means "active" "0" means "inactive". Please help me some one to solve these issue. below is my code:</p>
  
  <p>/.table.jsp</p>
  
  <pre><code>&lt;div class="row"&gt;
      &lt;div class="col-lg-12"&gt;
          &lt;div class="panel panel-success"&gt;
              &lt;div class="panel-heading"&gt;User Online
              &lt;/div&gt;
              &lt;!-- /.panel-heading --&gt;
              &lt;div class="panel-body"&gt;
                  &lt;div class="table-responsive"&gt;
                      &lt;table id="example" class="table table-striped table-bordered display" cellspacing="0" width="100%"&gt;
                          &lt;thead style="font-size:11px;"&gt;
                              &lt;tr&gt;
                                  &lt;th&gt;S.No&lt;/th&gt;
                                  &lt;th&gt;Name&lt;/th&gt;
                                  &lt;th&gt;Usn Number&lt;/th&gt;
                                  &lt;th&gt;Mobile Number&lt;/th&gt;
                                  &lt;th&gt;Email ID&lt;/th&gt;
                                  &lt;th&gt;Status&lt;/th&gt;
                              &lt;/tr&gt;
                          &lt;/thead&gt;
                          &lt;tbody&gt;                            
                             &lt;c:forEach var="UserList" varStatus="status" items="${UserList}"&gt;                                         
                                &lt;tr&gt;
                                   &lt;td&gt;&lt;c:out value="${status.index+1}"/&gt;&lt;/td&gt;
                                   &lt;td&gt;&lt;c:out value="${UserList.name}"/&gt;&lt;/td&gt;
                                   &lt;td&gt;&lt;c:out value="${UserList.usn}"/&gt;&lt;/td&gt;
                                   &lt;td&gt;&lt;c:out value="${UserList.mobile}"/&gt;&lt;/td&gt;
                                   &lt;td&gt;&lt;c:out value="${UserList.email}"/&gt;&lt;/td&gt;
                                   &lt;td&gt;&lt;c:out value="${UserList.Status}"/&gt;&lt;/td&gt; &lt;!-- currently UserList.Status = "1"/"0" is printing, if "1" show "active" if "0" show "inactive" --&gt;
                                &lt;/tr&gt;                       
                            &lt;/c:forEach&gt;                                                   
                          &lt;/tbody&gt;
                      &lt;/table&gt;
                  &lt;/div&gt;
                  &lt;!-- /.table-responsive --&gt;                   
              &lt;/div&gt;
              &lt;!-- /.panel-body --&gt;
          &lt;/div&gt;
          &lt;!-- /.panel --&gt;
      &lt;/div&gt;
      &lt;!-- /.col-lg-12 --&gt;
  &lt;/div&gt;  
  </code></pre>