im using a toString for display a table:
public String toString(){
return(
"<table>"
+"<tr>"
+"<th> ID </th>"
+"<th> Nombre </th>"
+"<th> Enero </th>"
+"</tr>"
+"<td>"+idcliente+"</td>"
+"<td>"+nombre+"</td>"
+"<td>"+enero+ "</td>"
+"</tr>"
+"</table>");
}
This method are in a java class with getters and setters, i want display in a jsp with jstl, this is correct?