Anthony,
According to JRun 4 FAQ
http://www.macromedia.com/software/jrun/productinfo/faq/#g200
"What are the major features of JRun 4?
.....
High-performance web container with JSP 1.2 and servlet 2.3 support
.....
"

ditchnet-tabs-taglib requires JSP 2.0 spec

Hua
 

-----Original Message-----
From: Anthony Prato [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 01, 2005 1:49 PM
To: CF-Talk
Subject: problem loading a JSP tag library into CF

I've had a problem loading a JSP tag library. (CFMX7 developer) The livedocs 
say:
Put the tag library, consisting of the taglibname.jar file, and the 
taglibname.tld file, if one is supplied, in the web_root/WEB-INF/lib directory. 
The JSP custom tag library must be in this directory for you to use the 
cfimport tag.
Restart ColdFusion. 
In the ColdFusion page that uses a JSP tag from the tag library, specify the 
tag library name in a cfimport tag; for example:
<cfimport taglib="/WEB-INF/lib/random.jar" prefix="random"> If the TLD file is 
not included in the JAR file, use the .tld suffix in place of the .jar suffix.

(i restarted CF between all of these steps) The jar I'm trying to load 
(http://209.61.157.8:8080/taglibs/) has a tld file in it. I first tried the 
above and got the message:
Could not import the tag library specified by 
"/WEB-INF/lib/ditchnet-tabs-taglib.jar".
The following error was encountered: Tag Library Descriptor not found.
Please ensure that you have specified a valid tag library.
I then pulled the tld out of the jar and put it into the lib directory too... 
same error I then downloaded the jstl.jar and standard.jar from apache (as the 
taglib's docs instruct) and i get... same error I tried the last comment from 
the livedocs and changed my cfimport to <cfimport 
taglib="/WEB-INF/lib/ditchnet-tabs-taglib.tld" prefix="tab"> at which point i 
get a 500 error:
500 javax/servlet/jsp/tagext/SimpleTagSupport

I downloaded the random taglib from apache and used the code from livedocs and 
that worked :(

The docs for this taglib say that:
The Tabs Taglib has only been tested with the Apache Tomcat servlet container 
v5.0.28. A servlet container that implements at least the JSP 2.0 spec and the 
Servlet 2.3 spec will be required.

What version jsp and servlet does CF7 support?

Does anyone have any ideas on how to get this taglib to work? (or any other 
taglibs that will provide an html equivalent of what the flash forms tabs 
provide)

Anthony



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217152
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to