Solved

File BroswerProblem

Posted on 2002-05-04
3
164 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 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

Suggested Solutions

Title # Comments Views Activity
netstat -ano | find "8000" and taskkill /f /pid 2984 3 84
difference of if loops 23 62
java stored proc example 9 46
Running JavaFX on JDeveloper 12C 1 55
INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…

828 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