Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

exception in jstl

kelly goedert
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have this form:
<%@ taglib uri="struts/bean-el" prefix="bean" %>
<%@ taglib uri="struts/html-el" prefix="html" %>
<%@ taglib uri="jstl/c" prefix="c" %>
<%@ taglib uri="struts/logic-el" prefix="logic" %>
<link href="<html:rewrite page="/pages/style/default.css" />" rel="stylesheet" type="text/css">
<title><bean:message key="title.usuario.usuarioform"/></title>
<c:when test="${ == 'insert'}">
<h1><bean:message key="title.usuario.insert"/></h1>
<c therwise>
<h1><bean:message key="title.usuario.update"/></h1>
</c therwise>
And when I call it I get the following exception:
javax.servlet.ServletException: javax/servlet/jsp/jstl/core/ConditionalTagSupport
at org.apache.jasper.servlet.JspServlet.service(
at javax.servlet.http.HttpServlet.service(
at org.apache.catalina.core.ApplicationDispatcher.invoke(
at org.apache.catalina.core.ApplicationDispatcher.doForward(
at org.apache.catalina.core.ApplicationDispatcher.forward(
at org.apache.struts.action.RequestProcessor.doForward(
at org.apache.struts.action.RequestProcessor.processForwardConfig(
at org.apache.struts.action.RequestProcessor.process(
at org.apache.struts.action.ActionServlet.process(
at org.apache.struts.action.ActionServlet.doGet(
at javax.servlet.http.HttpServlet.service(
at javax.servlet.http.HttpServlet.service(
The .tld files are placed under WEB-INF and mapped in web.xml. I using tomcat 4.1.29 and jdk 1.4
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic