Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

Re: Grabbing data from a java applet

by stephen (Priest)
on May 05, 2001 at 20:21 UTC ( [id://78252]=note: print w/replies, xml ) Need Help??

in reply to Grabbing data from a java applet

If you're talking about getting data from a client-side Java applet to a server-side Perl script, you need to have the applet make a network connection to pass the data. One way would be to write a CGI script in Perl to accept the data, then have the applet submit the data as a CGI request. (See CGI for information on how to write a CGI script, and check out the and classes for more information on how to submit an HTTP request.)

The applet may or may not be able to make such a connection, depending on the security options that the browser's user has chosen.

If you just need information about stock quotes, I suggest you check out the Finance::Quote module, which you can use to fetch quotes from a variety of different sites. I suspect that this method may be your best option. (I haven't used it myself, but it appears to be a well-developed module.) If you use it successfully, you may want to submit a review of it to our Module Reviews section.


Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://78252]
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (9)
As of 2024-04-22 13:42 GMT
Find Nodes?
    Voting Booth?

    No recent polls found