I need to get the value of an attribute of an object (user.estado) and put it inside a variable (state) of JSP and then make if statements depending on that variable. Here the code.
<tbody>
<tr>
<td><c:out value="${usuario.id}"/></td>
<td><c:out value="${usuario.apellidos}"/></td>
<td><c:out value="${usuario.nombre}"/></td>
<td><c:out value="${usuario.usuario}"/></td>
<td><c:out value="${usuario.clave}"/></td>
<td><c:out value="${usuario.permisos}"/></td>
<td><c:out value="${usuario.estado}"/></td>
<% String estado=(AQUI ES DONDE NECESITO OBTENER EL VALOR DE usuario.estado);%>
<td><form action=""><button type="button" class="btn
btn-block btn-info btn-xs" name="${usuario.usuario }" value="${usuario.usuario }">Editar</button></form></td>
<td><form action="DeshabilitaServlet" method="post">
Off Remove