Yes, but it’s clunky as hell, e.g.
<c:choose> <c:when test="${condition1}"> ... </c:when> <c:when test="${condition2}"> ... </c:when> <c:otherwise> ... </c:otherwise> </c:choose>
Related Posts:
- How to loop over something a specified number of times in JSTL?
- Unable to compile class for JSP
- Server Tomcat v8.0 Server at localhost failed to start. after declaring servlet name and mapping in web.xml file
- ORA-12518, TNS:listener could not hand off client connection
- The request sent by the client was syntactically incorrect.-Spring MVC + JDBC Template
- How can I view .JSP files
- Spring Boot – Unable to resolve Whitelabel Error Page
- getting error HTTP Status 405 – HTTP method GET is not supported by this URL but not used `get` ever?
- Image is not showing in browser?
- The superclass “javax.servlet.http.HttpServlet” was not found on the Java Build Path
- The superclass “javax.servlet.http.HttpServlet” was not found on the Java Build Path
- What does request.getParameter return?
- What is the difference between response.sendRedirect() and request.getRequestDispatcher().forward(request,response)
- java.lang.NumberFormatException: null i
- org.apache.jasper.JasperException: Unable to compile class for JSP:
- Using if-else in JSP
- WebServlet cannot be resolved to a type
- How to solve the “failed to lazily initialize a collection of role” Hibernate exception
- What does this expression language ${pageContext.request.contextPath} exactly do in JSP EL?
- how to fix Cannot call sendRedirect() after the response has been committed?
- Response has aready been committed
- What is the difference between JSF, Servlet and JSP?
- Static Final Long serialVersionUID = 1L
- org.apache.jasper.JasperException
- Download a file by jQuery.Ajax
- getOutputStream() has already been called for this response
- How to specify the default error page in web.xml?
- What is the meaning of ? (question mark) in a URL string?