FYI: Recently found an interesting workaround for someone who was having difficulties 
with <cfhttp>: 

Here's what I did to get it working (NT): 
1.  Download the HTTPClient class files (.zip) from 
    http://www.innovation.ch/java/HTTPClient/ 
    (Thanks to G. Hussain Chinoy for the pointer) 
2.  Extract to C:\jdk1.3\jre\lib\HTTPClient 
    (your jdk dir may vary, adjust as needed) 
3.  Add C:\jdk1.3\jre\lib\ as "Class Path" in CF Admin 
4.  Run following code: 

<cfobject action = "Create" type = "Java" 
    class = "HTTPClient.HTTPConnection" name = "httpConn"> 
<cfscript> 
httpConn.init("www.windsorcs.com"); 
response=httpConn.Get("/"); 
content=response.getText(); 
</cfscript> 
<cfoutput> 
#content# 
</cfoutput> 

Voila! 

If someone wants to copy this tip to cf-talk (I'm not subscribed due to the 
overwhelming volume), feel free. 

Daryl Banttari 
Sr. Consultant 
Macromedia

 
 
______________________________________________________________________
The KCFusion.org list and website is hosted by Humankind Systems, Inc.
List Archives........ http://www.mail-archive.com/cf-list@kcfusion.org
Questions, Comments or Glowing Praise.. mailto:[EMAIL PROTECTED]
To Subscribe.................... mailto:[EMAIL PROTECTED]
To Unsubscribe................ mailto:[EMAIL PROTECTED]
 

Reply via email to