File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Unable to upload a file into application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Unable to upload a file into application" Watch "Unable to upload a file into application" New topic

Unable to upload a file into application

Ram Korutla
Ranch Hand

Joined: Dec 24, 2007
Posts: 80

I am new to struts. We have a web application which we have developed in eclipse 3.2 based on struts and java 1.6. We are running the application on tomcat through eclipse. We have a excel download and upload functionality which is pretty much working fine when we are launching the application from eclipse on tomcat.
Now this application needs to deployment in some machine from where everybody should be able to access it. We have installed Tomcat on that machine and we have deployed this application as a WAR into tomcat.

Now the problem is that, file download works perfectly, but we do file upload, it is giving file not found exception as in below..I have been trying hard, but clueless on why it is working in eclipse, but not as a standalone . Any help is appreciated.

Thanks in Advance,
jeyasutha kavi

Joined: Jun 10, 2011
Posts: 2
Hi Ram,

I am facing problem with excel upload and download.Can you please send me the code for that immediately?
I agree. Here's the link:
subject: Unable to upload a file into application
It's not a secret anymore!