| Author |
can we make an applet to access local harddisk(sys resources)
|
Vishnu Murthy
Ranch Hand
Joined: Jan 04, 2001
Posts: 56
|
|
Hi, I am trying to create an applet which does the job similar to the windows explore. i.e when the applet first loads it should show all the drives present on system. now when the user clicks on the C:\ he should be able to see all the folders contained in it and if he clicks on the folder should be able to see the contents of the folder. this applet should be generic. i think i have read some where that an applet cannot access system resouces if this is true? then how can i achieve my goal. i would be thankful if someone sends me the sample code. thank you vishnu
|
 |
Nathan Pruett
Bartender
Joined: Oct 18, 2000
Posts: 4120
|
|
Vishnu, You are correct, an applet cannot access the local files/directorys (without some major help... signed applets, capability classes, etc.), and overall applets are not meant for that sort of program... you should not try to write an applet that does what you described, why should the user need to run a web page to look at their local files? However, you should be able to write an application that does what you described with little problem... HTH, -Nate
|
-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
|
 |
Srinath R
Ranch Hand
Joined: Jun 28, 2000
Posts: 71
|
|
hi Nathan well ur are right bout the fact that an applet is not ment for, the kind of job described by Vishnu but suppose their is a requitement then how to go bout it,the question seems very intresting i would be happy if some body puts some thought on it. even a sample code will be very helpful, as desiered by vishnu. srinath
|
 |
 |
|
|
subject: can we make an applet to access local harddisk(sys resources)
|
|
|