Solved

File BroswerProblem

Posted on 2002-05-04
3
166 Views
Last Modified: 2010-03-31
Hi there,

In my web based project in java, i need a dialog box that gives access only to directory level not to
file level. So i can't use FileDialog Object for this purpose. then,I tried with JFileChooser class
it works, and it needs a Security policy at Client side.
How do i solve this problem?
Please help me

Vikram
0
Comment
Question by:gsvikram
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 18

Accepted Solution

by:
bobbit31 earned 50 total points
ID: 6989752
if it is a tool just for you, you can modify the java.policy to allow file access.  If there will be many ppl using it, they will also have to modify their java.policy (located in jdk/jre/lib/security/ i believe) as well.

Otherwise, get your applet signed
0
 
LVL 35

Expert Comment

by:girionis
ID: 8709763
No comment has been added lately, so it's time to clean up this TA.

I will leave a recommendation in the Cleanup topic area that this question is:

- points to bobbit31

Please leave any comments here within the
next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER !

girionis
Cleanup Volunteer
0

Featured Post

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question