File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Unable to upload a file into application" Watch "Unable to upload a file into application" New topic
Author

Unable to upload a file into application

Ram Korutla
Ranch Hand

Joined: Dec 24, 2007
Posts: 80
Hi,

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,
Ram
jeyasutha kavi
Greenhorn

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: http://aspose.com/file-tools
 
subject: Unable to upload a file into application
 
Similar Threads
File Download Problem
java.io.FileNotFoundException
Not authenticating the user
Cannot run Client.jsp for a EJB
Not able to deploy webservice through deploy.wsdd