This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Other Open Source Projects and the fly likes Common's FileUpload query?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Common Watch "Common New topic

Common's FileUpload query??

Jignesh Gohel
Ranch Hand

Joined: Dec 28, 2004
Posts: 276

I am using project common's fileupload facility in my application for uploading a file from the client to the server.

At present i am doing on my local host only.But this application is going to be used through web.

I am using the HTML file input type for selecting a file from the client side .

Now when i am selecting the file & uploading it i am getting error:

the file path on my server to which i want to get my file uploaded from the client to the server ::: to this path (Access is denied).

The file contents are not able to get written to my desired path??

So what might be the problem??



The Art Of Life Is To Know When To Be Useless And When To Be Useful - CHUANG TZU
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 41591
Either the directory doesn't exist, or the user under which the server is run does not have access to it, just like the message implies. Yet another possibility is that Tomcat is run with a SecurityManager, which further restricts what it can do.

Ping & DNS - my free Android networking tools app
I agree. Here's the link:
subject: Common's FileUpload query??