On Wednesday 31 May 2006 18:28, stylo stylo wrote:
> > Why not just use CreateObject() to create the Java class you need, and
> > then
> > use it like a CFC.
>
> So how would I do all that, including the jsp page includes and calling the
> functions on the jsp page?
Ignore including a JSP page. In a CFML page:
obj=createIObject('java','java.util.foo');
foo.init(myConstructorArgs);
baz=foo.doSomethingWith(myArguments);
writeOutput(baz);
'course, you can do the same thing with a tag syntax too.
Maybe if you posted the code you were trying to convert we could take a stab,
as James suggested.
> I have no idea, sorry. What's a class exactly?
A java class, or the abstract OO notion of 'class' ?
--
Tom Chiverton
****************************************************
This email is sent for and on behalf of Halliwells LLP.
Halliwells LLP is a limited liability partnership registered in England and
Wales under registered number OC307980 whose registered office address is at St
James's Court Brown Street Manchester M2 2JF. A list of members is available
for inspection at the registered office. Any reference to a partner in relation
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law
Society.
CONFIDENTIALITY
This email is intended only for the use of the addressee named above and may be
confidential or legally privileged. If you are not the addressee you must not
read it and must not use any information contained in nor copy it nor inform
any person other than Halliwells LLP or the addressee of its existence or
contents. If you have received this email in error please delete it and notify
Halliwells LLP IT Department on 0870 365 8008.
For more information about Halliwells LLP visit www.halliwells.com.
We are pleased to announce that Halliwells LLP has been voted AIM Lawyer of the
Year at the 2005 Growth Company Awards
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:241898
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=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54