hello all, i am going to start working on an applet that i will embed in a webpage running off of a coldfusion server.
my question is, am i able to make an applet that will call a coldfusion page to get the data and populate the applet. it would dynamically refresh the applet every minute or so without refreshing the whole web page.
It is trivial to read an internet resouce with Java. Create an instance of java.net.URL and either invoke getContent() to download the resource or use openStream() to get an InputStream and read the resouce in yourself. Be aware that there are security restrictions on applets. Among them are that an applet cannot contact any server other than the one it was downloaded from. [ February 11, 2005: Message edited by: Joe Ess ]
i didn't know that an applet can on communicate with the server it was downloaded from. luckily enough that will be the cf server. just trying to leverage the java capabilities associated with the cfmx since there is no funding for a java server yet.
will get started on the getOutPutStream()
Joined: Aug 31, 2004
doohhh, i meant start working on openStream() to get an InputStream.