John,

Your correct, the tld file for the JRUN tag library is bundled in the jar
file, at least for version 3.01.  I don't know about JRUN 3.1.  I didn't
think to look in the jar file, since most tag libraries do include an
external jar file for use in a web.xml file.



-----Original Message-----
From: John Zhao [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 18, 2001 2:23 PM
To: JRun-Talk
Subject: RE: JRun Taglibs ?


Celeste,

I don't think your conclusion is correct.  

There are three ways to reference a .tld file.  

1) reference in the <%@taglib uri="../../yourtaglib.tld" prefix="..." %> in
the JSP page directly
2) include the taglib.tld in a jar file and reference to the jar file
3) reference in the web.xml file for a web application.

JRun taglib uses the second approach.  You should find the taglib.tld in the
jruntag.jar file.

Hope this helps,
John

-----Original Message-----
From: Haseltine, Celeste [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 18, 2001 3:07 PM
To: JRun-Talk
Subject: RE: JRun Taglibs ?


Stacy, 

I suspect that Macromedia did not intend for anyone to use their tag
libraries outside of the JRUN environment.  Since JRUN has an interface for
adding additional tag library jar files to be used in your JSP's, if you are
using JRUN, you theoretically do not need a TLD file.  Which is why it does
not come with one.

If you check out the documentation for the JRUN tag libraries, you will find
the XML definitions of each tag.  Theoretically, you could cut and past
these XML definitions and create your own TLD file, thereby using the tag
libraries within another JSP server.  But I would make sure that JRUN's tag
library does not have any other "built in" dependency on the JRUN server
environment, before spending the time porting it to another server.

As an FYI, if you truely need a portable tag library, check out the Jakarta
project.  They have a ton of pretty good tag libraries that you can use with
any JSP server.

Celeste 

-----Original Message-----
From: Stacy Young [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 18, 2001 1:34 PM
To: JRun-Talk
Subject: JRun Taglibs ?


I'm trying to get the JRun taglib operational under tomcat (my app needs to
be portable on both app servers) but I'm confused as there doesn't seem to
be any reference to them in any web.xml nor can I find any TLD. Only the
JAR.

Anyone tried this ?




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the mailserver that powers this list at http://www.coolfusion.com
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to