Solved

File BroswerProblem

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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

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…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

707 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

13 Experts available now in Live!

Get 1:1 Help Now