Solved

File BroswerProblem

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
maven example error 3 54
Checkbox and ListView in Android Layout 4 56
Cipher Configuration on Apache HTTPD 4 53
stackato and cloud 4 75
An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
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 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…

863 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now