Good Morning Msgr McGrath
If you install your <struts-bean.tld,struts-html.tld,struts-logic.tld> in a location other than YourWebApp\WEB_INF you would still have to update the web.xml web-app taglib-location
Or am I not understanding the thread ?
Martin Gainty
______________________________________________ (mobile) 617-852-7822 (http)www.laconiadatasystems.com
From: "John McGrath" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <user@struts.apache.org>
To: "'Struts Users Mailing List'" <user@struts.apache.org>
Subject: RE: trouble referencing struts taglibs: TldLocationsCache?
Date: Sat, 5 Feb 2005 04:09:34 -0500
MIME-Version: 1.0
Received: from mail.apache.org ([209.237.227.199]) by mc4-f3.hotmail.com with Microsoft SMTPSVC(6.0.3790.211); Sat, 5 Feb 2005 01:09:48 -0800
Received: (qmail 36790 invoked by uid 500); 5 Feb 2005 09:09:37 -0000
Received: (qmail 36773 invoked by uid 99); 5 Feb 2005 09:09:37 -0000
Received: pass (hermes.apache.org: local policy)
Received: from zeratul.whoi.edu (HELO mx1.whoi.edu) (128.128.76.62) by apache.org (qpsmtpd/0.28) with ESMTP; Sat, 05 Feb 2005 01:09:35 -0800
Received: by mx1.whoi.edu (Postfix, from userid 103)id B93DA169E2D; Sat, 5 Feb 2005 04:09:33 -0500 (EST)
Received: from phooey (huey.whoi.edu [128.128.15.13])by mx1.whoi.edu (Postfix) with ESMTP id 4C6DB169E30for <user@struts.apache.org>; Sat, 5 Feb 2005 04:09:30 -0500 (EST)
X-Message-Info: JGTYoYF78jEx6pQFzgmTv9zc0jbWu/plWH02a70sp3E=
Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:[EMAIL PROTECTED]>
List-Subscribe: <mailto:[EMAIL PROTECTED]>
List-Help: <mailto:[EMAIL PROTECTED]>
List-Post: <mailto:user@struts.apache.org>
List-Id: "Struts Users Mailing List" <user.struts.apache.org>
Delivered-To: mailing list user@struts.apache.org
X-ASF-Spam-Status: No, hits=0.0 required=10.0tests=
X-Spam-Check-By: apache.org
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook, Build 10.0.6626
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
X-Virus-Status: No
X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on zeratul
X-Spam-Status: No, hits=-100.0 required=7.5 tests=USER_IN_WHITELIST autolearn=no version=2.63
X-Spam-Level: X-Virus-Checked: Checked
Return-Path: [EMAIL PROTECTED]
X-OriginalArrivalTime: 05 Feb 2005 09:09:48.0745 (UTC) FILETIME=[716AC390:01C50B62]
figured it out; for the record, i'll answer my own question:
simply removing the taglib lines from web.xml entirely and referencing them directly from jsp's solved the problem.
-----Original Message----- From: John McGrath [mailto:[EMAIL PROTECTED] Sent: Thursday, February 03, 2005 12:28 PM To: struts-user@jakarta.apache.org Subject: trouble referencing struts taglibs: TldLocationsCache?
Hi All,
I'm migrating an application from WebLogic 6.1 to Tomcat 5.0, and having a problem getting Tomcat to process taglibs correctly. The *.tld files are in WEB-INF, and web.xml is set up the same as in struts-examples, and the same as we've been using successfully in WebLogic:
<taglib> <taglib-uri>/tags/struts-bean</taglib-uri> <taglib-location>/WEB-INF/struts-bean.tld</taglib-location> </taglib>
When I reference a taglib in the standard way: <%@ taglib uri="/tags/struts-bean" prefix="bean" %>
The page fails, and this exception shows up in the logs:
2005-02-03 12:01:38 ApplicationDispatcher[/mcg_cms] Servlet.service() for
servlet jsp threw exception
org.apache.jasper.JasperException: Unable to initialize TldLocationsCache:
null at
org.apache.jasper.compiler.TldLocationsCache.init(TldLocationsCache.java:249
)
at
org.apache.jasper.compiler.TldLocationsCache.getLocation(TldLocationsCache.j
ava:220)
at
org.apache.jasper.JspCompilationContext.getTldLocation(JspCompilationContext
.java:475)
at org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:417)
at org.apache.jasper.compiler.Parser.parseDirective(Parser.java:483)
at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1539)...
(etc.)
It feels like I'm overlooking something small and stupid, but I've been banging my head against this for two days, and it's giving me a headache. Any help gratefully appreciated.
John
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]