• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 399
  • Last Modified:

How Can Applet access local resource?

In some states, I want applet to access local resource. such as:
1. local printer.
2. save operation results to local machine if the connection is broken.

Can Java Applet do this (JDK 1.2) ?
0
JAVAUSER
Asked:
JAVAUSER
1 Solution
 
Ravindra76Commented:

Hi javauser,

 By digitially signing applets you can do
0
 
dalehendCommented:
Anything to local PC could be accessed via a JNI wrapper to your C++ code, once the applet has been signed(your browser gives authority), making printer properties accessible the applet.
The operation results could be saved to local PC via FTP bean.

Here is example code to access NT resources:
http://www.codeguru.com/java/articles/310.shtml

Here is example VC code to access printer properties:
http://www.codeguru.com/printing/printersettings.shtml

Here is FTP bean:
http://jbaw.iba.com.by/alphabeans.nsf/beans1/5F748C1F1B755B68422568120047DF7B?OpenDocument&CFlag
0

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now