This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Servlets and the fly likes Getting error to upload file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Getting error to upload file" Watch "Getting error to upload file" New topic

Getting error to upload file

Sachin KumarSri

Joined: Jun 12, 2008
Posts: 9
In my application i tried to upload a file but it is giving me error directory not found.same application when deployed on weblogic is working fine but with web sphere it is giving that error.
process:it has a text box and browse button ,when we click on browse it opens a window,where we can select a file and the click open then it shows path of file in text box, also file is at different machin.
if it is on same machin no problem.
can any one suggest me what may be the problem.
Baseet Ahmed
Ranch Hand

Joined: Dec 18, 2006
Posts: 224
Sachin ,
Welcome to Javaranch.

As per your words, you are going to access remote machine for uploading files.(how you are selecting the file through open dialog box(after clicking browse button).i.e What path you are looking at ?

Paste your path here (both Weblogic and Websphere).

Might it helps to understand your problem more clearly.(to other also)

Baseet Ahmed
Value of Parents
Jannat(Heaven) is under the feet of Mother.
Father is the middle gate of Jannat(Heaven).
Deepa Korecherla
Ranch Hand

Joined: Jul 14, 2004
Posts: 197
This might help you --

I agree. Here's the link:
subject: Getting error to upload file
Similar Threads
How can i restrict the selecting file type to XML and TXT in file upload..
Uploading files
Struts - Improve Plugin : Layout:File Upload Validation Problem
input type=file question
Access Denied When Submitting File Upload