Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Other Java > Java GUI
|
Java GUI Discussions specific to programming Java GUI.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Java GUI section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 13th, 2004, 10:20 PM
Registered User
 
Join Date: Jun 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Applet file access

Hi everybody,

I am making an applet which will be written on to a compact disk.
My problem is that how could that applet access a file present in the same folder in that disk. I have some basic idea about the java.policy file that I have to create in the client side.

Please let me know if there is some other way, because I would be distributing that CD to many people and hence not feasible for me to create that file in every client's end (or is it possible? with the help of some batch file???). I want my applet to access only a perticular file in the CD which resides on the same folder as that of the applet.

Right now I am getting a security exception - file access denied.

Thanks a lot,

Kurian






Similar Threads
Thread Thread Starter Forum Replies Last Post
setting codebase for applet inside jsp file picky Java Basics 0 December 12th, 2006 08:12 AM
Applet needs full browser pane w/ DOM access. Philibuster BOOK: Beginning Java 2 1 August 15th, 2006 09:22 PM
can an applet read from a file starsailor Pro JSP 1 January 7th, 2005 12:58 PM
ADE file in Access 2000 <---> Access XP ginoitalo Access 3 April 14th, 2004 09:06 PM
Java Applet that can read an XML file sankar J2EE 1 December 25th, 2003 05:40 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.