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 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 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 » 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?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Unable to upload a file into application