Hi,
Are you passing from java to CF or CF to java?
Your subject suggests the later, but
 > java.util.Map wc = new java.util.Map();
suggests the former.

Your compiler problem is easy enough to solve, use one of the java 
implementations of map.
Head to the java doc at http://java.sun.com/j2se/1.4.2/docs/api, and 
lookup Map, then close to the top of the doc for Map there will be a 
list of "All Known Implementing Classes"
eg HashMap

(An interface in java merely describes methods that an object/class must 
define to adhere to that interface, so you can't instantiate an 
interface because it has no code to run those methods. You must find a 
class that implements those methods and that interface)

> Do you think I could use this data type in my Code like so?
> coldfusion.runtime.Struct wc = new coldfusion.runtime.Struct();
> 
> Where would I find the libraries?
> Would this be bad practice?

You could probably do that, the libraries would probably be in a jar 
somewhere in your CF server directory.
Though as you don't have access to any doc on it, you won't have a clear 
definition of the objects behaviour (nor will maintainers of your code), 
so you would probably be better off working with a java class you know, 
either a predifined java class, or a specialised class if you require 
that much specialisation.

Chris

-- 
---------------------------------------------------------------------
Chris Jensen [EMAIL PROTECTED]

Educational Experience (Australia)
Postal Address: PO Box 860, Newcastle NSW 2300
Freecall:       1-800-025 270      International: +61-2-4923 8222
Fax:            (02) 4942 1991     International: +61-2-4942 1991

Visit our online Toy store! http://www.toysandmore.com.au/
---------------------------------------------------------------------


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:193771
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=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to