Downloading files with applets

P

Praveen M V

Hello,

Is it possible to connect to a web server from an applet and download a file
to the local system and then operate on the downloaded file ?

Regards,
Praveen
 
D

Dave Miller

andrew64 said:
<group bosch.comp.lang.java removed>

...

Yes, there are various ways you can achieve that.

You could alter the 'security policy' on specific
browsers to allow the applet access to the local
filesystem, or you could 'sign' the jar file and install
it via Java Webstart.

For signing see..
http://java.sun.com/products/plugin/1.2/docs/nsobjsigning.html

HTH

--
Andrew Thompson
http://www.lensescapes.com/
http://www.physci.org/
http://www.1point1c.org/
A signed applet is (if accepted by the client) granted the same
privileges as a java app (no sandbox). It can be accessed the same as an
unsigned jar - webstart is not required.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,767
Messages
2,569,573
Members
45,046
Latest member
Gavizuho

Latest Threads

Top