I had been running my application with Tomcat 4.1.18 and Java 1.4.1_2-b06
under Redhat Linux 8 without problems.
However, once I switched to Tomcat 4.1.24 I get the following error first
time a page is displayed (compiled):

----------------------------
org.apache.jasper.JasperException: /jsp/FolderPage.jsp(88,7) No such tag
import in the tag library imported with prefix c
        at
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.
java:94)
        at
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:428
)
        at
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:219
)
        at org.apache.jasper.compiler.Parser.parseCustomTag(Parser.java:705)
        at org.apache.jasper.compiler.Parser.parseElements(Parser.java:804)
----------------------------

The .jsp page is as follows (parts removed):

----------------------------
<%@ page language="java"  contentType="text/html" %>
<%@ taglib prefix="MFnet" uri="mfnettags.tld" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core"; %>
<%@ taglib prefix="x" uri="http://java.sun.com/jstl/xml"; %>
   <%
       response.setHeader("Cache-Control", "no-store, no-cache");
       response.setHeader("Pragma",  "no-cache");
       response.setHeader("Expires", "now");
   %>
<HTML>
   <HEAD>
      <TITLE>FolderPage</TITLE>
      <META http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
   </HEAD>
   <BODY bgcolor="#FFFFFF" text="#000000"
onLoad="javascript:updateStatus();">
       <MFnet:findDocuments
              userID                  = "<%= userID %>"
              libraryName             = "<%= searchLib %>"
              searchStmt              = "<%= searchStmt %>"
              webSearchID             = "<%= searchKey %>"
              startDatePriorUnit      = "<%= searchBackUnit %>"
              startDatePriorUnitCount = "<%= searchBackCount %>"
       />
       <c:import url="treeFolder.xsl" var="stylesheet" />
       <x:transform xslt="${stylesheet}" > <%= xmlFolderInfo %>
</x:transform>
   </body>
</html>
----------------------------

Anyone know what happened between 4.1.18 and 4.1.24 of Tomcat that would
cause the error?  I deployed my application in both versions the same way (I
retraced my steps twice).

My application's .war file contains the core tag library.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to