Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Applet Program

 
chinna ram
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all,
Is is possible to write a java applet program which will have "Browse" button.By clicking browse button we should be able to select a file from a local machine.
(This Browse button is just like when we are sending an email when we want to attach a file we select the file by clicking the browse button.)
If we can do that please suggest me how to write that code.
Thank You,
Chinna.
 
Grishma Dube
Ranch Hand
Posts: 275
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
First of all u must be knowing, the applets can not access local resources. But yes, u can do it by singed or trusted applet.
 
Gayathri Prasad
Ranch Hand
Posts: 116
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The Sandbox security model of Applets never lets you access the resources on the hard disk becuas this is a potential threat. But Yes with signed applets u can..
Cheers,
Gaya3
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic