<?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.1 - htmldocs - tags-pb9.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-25T11:17:45</dc:date>
		<dc:language>en-us</dc:language>
		<items>
			<rdf:Seq>
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-pb9.htm#27014" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-pb9.htm#26993" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-pb9.htm#25546" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-pb9.htm#22689" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-pb9.htm#22032" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-pb9.htm#15581" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-pb9.htm#12463" />
			</rdf:Seq>
		</items>
	</channel>
	
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-pb9.htm#27014">
		<title>coldfusion/6.1/htmldocs/tags-pb9.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-pb9.htm#27014</link>
		<description>teh follwing code give me an error  &lt;br /&gt;&lt;br /&gt;&lt;cfobject action = &quot;Create&quot; type=&quot;Java&quot; class=&quot;APSEManager&quot; name=&quot;myObj&quot;&gt;&lt;br /&gt;&lt;br /&gt;&quot;Class not found: AmandaDev/APSEManager&quot;&lt;br /&gt; the APSEManager file is in the same folder where my cfm form, which call it, is.</description>
		<dc:creator></dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2005-01-26T10:40:13</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-pb9.htm#26993">
		<title>coldfusion/6.1/htmldocs/tags-pb9.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-pb9.htm#26993</link>
		<description>why does the example use weblogic instead of jrun? should it show examples using macromedia products?</description>
		<dc:creator>macromicah</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2005-01-25T21:56:57</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-pb9.htm#25546">
		<title>coldfusion/6.1/htmldocs/tags-pb9.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-pb9.htm#25546</link>
		<description>Here is a pitfall that I found when coldfusion object is created inside the component method. I needed to call a particular constructor on  a File class. The following code gave me an error:&lt;br /&gt;&lt;br /&gt;    &lt;cfobject type=&quot;Java&quot; action=&quot;create&quot; name=&quot;File&quot; class=&quot;java.io.File&quot;&gt;&lt;br /&gt;    &lt;cfset variables.lockFile = File.init(JavaCast(&quot;string&quot;,&quot;c:/tmp.1&quot;)) &gt; &lt;br /&gt;&lt;br /&gt;Using reflection, I found that  variable File used this way refers to an object of class   coldfusion.runtime.LocalScope.  That object obviously does not have a method init with desired signature. To avoid this issue one must always use the following:&lt;br /&gt;&lt;br /&gt;    &lt;cfobject type=&quot;Java&quot; action=&quot;create&quot; name=&quot;File&quot; class=&quot;java.io.File&quot;&gt;&lt;br /&gt;    &lt;cfset variables.lockFile =variables. File.init(JavaCast(&quot;string&quot;,&quot;c:/tmp.1&quot;)) &gt; &lt;br /&gt;&lt;br /&gt;This code works fine.  Certainly it is a good practice to use variables with explicitly defined scope just for performance improvement,  but in this particular example it is absolutely required. &lt;br /&gt;Another work around is to declare 'File' as  a local function variable and then explicitly set the component variable after class instantiation.</description>
		<dc:creator>Belikov</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2004-12-16T07:29:11</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-pb9.htm#22689">
		<title>coldfusion/6.1/htmldocs/tags-pb9.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-pb9.htm#22689</link>
		<description>Try using the fully qualified class name in the CLASS tag of the CFOBJECT tag, e.g,&lt;br /&gt;&lt;br /&gt;&lt;cfobject action=&quot;create&quot; type=&quot;java&quot; class=&quot;MYPACKAGE.MYCLASS&quot; name=&quot;myobj&quot;&gt;</description>
		<dc:creator></dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2004-10-20T16:25:53</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-pb9.htm#22032">
		<title>coldfusion/6.1/htmldocs/tags-pb9.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-pb9.htm#22032</link>
		<description>I wish there was an example on how to specify the package of the class.  The syntax for cfobject is &lt;br /&gt;&lt;cfobject   action = &quot;create&quot;  type = &quot;java&quot;  class = &quot;myclass&quot;&lt;br /&gt;  name = &quot;myobj&quot;&gt;&lt;br /&gt;&lt;br /&gt;How do i specify the package and the classname?</description>
		<dc:creator>itsmeprash</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2004-10-06T11:40:23</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-pb9.htm#15581">
		<title>coldfusion/6.1/htmldocs/tags-pb9.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-pb9.htm#15581</link>
		<description>If I'm instantiating a java object and then invoking a method, is there a way to redirect stdout and stderr for the invokation so that I can capture it to a variable?</description>
		<dc:creator>Calphool</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2004-05-27T21:43:00</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-pb9.htm#12463">
		<title>coldfusion/6.1/htmldocs/tags-pb9.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-pb9.htm#12463</link>
		<description>How do you register java classes in the administrator as suggested.  It says you must put classes in the classpath within the cf admin module, but there is no such section for doing so?&lt;br /&gt;&lt;br /&gt;Mike.</description>
		<dc:creator></dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2004-04-06T08:46:43</dc:date>
	</item>
	</rdf:RDF>

