Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

File BroswerProblem

Posted on 2002-05-04
3
Medium Priority
?
169 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
3 Comments
 
LVL 18

Accepted Solution

by:
bobbit31 earned 200 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
Suggested Courses

972 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