<?xml version="1.0" encoding="utf-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc = "http://purl.org/dc/elements/1.1/" xmlns="http://purl.org/rss/1.0/">
	<channel rdf:about="http://livedocs.adobe.com/">
	<title>LiveDocs Comments - coldfusion - 6 - Developing_ColdFusion_MX_Applications_with_CFML - Java3.htm</title>	
		<link>http://livedocs.adobe.com/</link>
		<description>Macromedia LiveDocs - online documentation with user feedback.</description>
		<copyright>Copyright 2009, Macromedia, Inc.</copyright>
		<dc:date>2009-11-25T06:36:05</dc:date>
		<dc:language>en-us</dc:language>
		<items>
			<rdf:Seq>
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/Java3.htm#17911" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/Java3.htm#8325" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/Java3.htm#8284" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/Java3.htm#1040" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/Java3.htm#754" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/Java3.htm#749" />
			</rdf:Seq>
		</items>
	</channel>
	
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/Java3.htm#17911">
		<title>coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/Java3.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/Java3.htm#17911</link>
		<description>I got this example to work using CFMX Enterprise Edition v6.1 on a Windows 2000 server using the following setup:&lt;br /&gt;&lt;br /&gt;1. Place the &quot;taglibs-random.jar&quot; JAR file in the following directory: C:\CFusionMX\wwwroot\WEB-INF\lib&lt;br /&gt;(assumes CFMX is installed on the C drive)&lt;br /&gt;&lt;br /&gt;2. Place the &quot;taglibs-random.tld&quot; TLD file in the same directory your .cfm page that calls it. (note: you may place this file in any directory as long as you path to it correctly.)&lt;br /&gt;&lt;br /&gt;3. Restart ColdFusion Services&lt;br /&gt;&lt;br /&gt;4. Use the following code in your (.cfm) page:&lt;br /&gt;(note that the referenced &quot;taglibs-random.tld&quot; is a TLD note the JAR file)&lt;br /&gt;&lt;br /&gt;&lt;cfimport taglib=&quot;taglibs-random.tld&quot; prefix=&quot;myrand&quot;&gt;&lt;br /&gt;&lt;myrand:number id=&quot;randPass&quot; range=&quot;000000-999999&quot; algorithm=&quot;SHA1PRNG&quot; provider=&quot;SUN&quot; /&gt;&lt;br /&gt;&lt;cfset myPassword = randPass.random&gt;&lt;br /&gt;&lt;cfoutput&gt;&lt;br /&gt;Your password is #myPassword#&lt;br&gt;&lt;br /&gt;&lt;/cfoutput&gt;&lt;br /&gt;&lt;br /&gt;OTHER IMPORTANT NOTES: &lt;br /&gt;&lt;br /&gt;JSP custom tags is NOT supported in CFMX Professional Edition - Enterprise only and might also work on the CFMX Demo Install and CFMX Developer version.&lt;br /&gt;&lt;br /&gt;CFIMPORT must appear in the page using a custom tag&lt;br /&gt;&lt;br /&gt;You can't place the CFIMPORT code in the Application.cfm file.&lt;br /&gt;&lt;br /&gt;You can't  place the CFIMPORT code in a file referenced with CFINCLUDE.</description>
		<dc:creator>Moonscape9</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2004-07-03T08:52:48</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/Java3.htm#8325">
		<title>coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/Java3.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/Java3.htm#8325</link>
		<description>The following code should work:&lt;br /&gt;&lt;br /&gt;&lt;cfimport taglib=&quot;/WEB-INF/lib/taglibs-random.jar&quot; prefix=&quot;myrand&quot;&gt;&lt;br /&gt;&lt;myrand:number id=&quot;randPass&quot; range=&quot;000000-999999&quot; algorithm=&quot;SHA1PRNG&quot; provider=&quot;SUN&quot; /&gt;&lt;br /&gt;&lt;cfset myPassword = randPass.random&gt;&lt;br /&gt;&lt;cfoutput&gt;&lt;br /&gt;   Your password is #myPassword#&lt;br&gt;&lt;br /&gt;&lt;/cfoutput&gt;&lt;br /&gt;&lt;br /&gt;Before you run the code, try restarting ColdFusion.&lt;br /&gt;If that fails, try copying the random.tld file from the JAR file into the lib directory, and then restart ColdFusion again.</description>
		<dc:creator>halL</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2004-02-18T08:22:28</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/Java3.htm#8284">
		<title>coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/Java3.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/Java3.htm#8284</link>
		<description>Did that, and I get the same error these folks are mentioning. Using W2k3 Ent Ed. CFMX 6.1 Std. Ed.</description>
		<dc:creator>amccollough</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2004-02-17T14:03:08</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/Java3.htm#1040">
		<title>coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/Java3.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/Java3.htm#1040</link>
		<description>replace the import line with &lt;br&gt;&lt;cfimport taglib=&quot;/WEB-INF/lib/taglibs-random.jar&quot; prefix=&quot;myrand&quot;&gt;&lt;br&gt;&lt;br&gt;(the only change is to change random to taglibs-random.) Make sure you didn't rename the jar file from the original taglibs-random. This works with the latest taglibs distribution on Win 2000.</description>
		<dc:creator>hlichtin</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2003-05-27T09:49:00</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/Java3.htm#754">
		<title>coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/Java3.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/Java3.htm#754</link>
		<description>I get the same error, Win2000 Advanced Server, ColdFusion MX Professional.</description>
		<dc:creator>jringold</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2002-10-31T02:38:00</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/Java3.htm#749">
		<title>coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/Java3.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/Java3.htm#749</link>
		<description>I cant seem to make this cfimport example work.  I've downloaded the latest random.jar and random.tld from jakarta, and dropped it into the /WEB-INF/lib/ directory, but when I run it, I get the error message: &lt;br&gt;&quot;The TagExtraInfo class org.apache.taglibs.random.RandomNumTei for the number tag couldn't be found. &quot;&lt;br&gt;&lt;br&gt;Can anyone point me in the right direction?&lt;br&gt;&lt;br&gt;Here is the code I'm using:&lt;br&gt;&lt;cfimport taglib=&quot;/WEB-INF/lib/random.jar&quot; prefix=&quot;myrand&quot;&gt;&lt;br&gt;&lt;myrand:number id=&quot;randPass&quot; range=&quot;000000-999999&quot; algorithm=&quot;SHA1PRNG&quot; provider=&quot;SUN&quot; /&gt;&lt;br&gt;&lt;cfdump var=&quot;#randPass#&quot;&gt;&lt;br&gt;&lt;br&gt;&lt;cfset myPassword = randPass.random&gt;&lt;br&gt;&lt;cfoutput&gt;&lt;br&gt;  Your password is #myPassword#&lt;br&gt;&lt;br&gt;&lt;/cfoutput&gt;&lt;br&gt;</description>
		<dc:creator>jefftapper</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2002-10-23T00:24:00</dc:date>
	</item>
	</rdf:RDF>

