Enum dentro de JSP
AUTOR PREGUNTA #1
-
¿Tienes la misma pregunta? Yo también
Esto también te interesa!
PREGUNTAS SIMILARES
#2
public enum Direccion { ASC, DESC
Luego en nuestro JSP podemos implementar web-friendly para poder trabajar con este Enum:
<%@ page import="com.example.Direccion" %> <p>Direccion is <%=foo.direccion.getFriendlyName()%></p> <% if (foo.direccion == Direccion.ASC) { %> <p>Subiendo</p> <% } %>