aspose file tools*
The moose likes Servlets and the fly likes sending a file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "sending a file" Watch "sending a file" New topic
Author

sending a file

karimkhan pathan
Ranch Hand

Joined: Jul 14, 2008
Posts: 86
Hi,

What happens when I'm trying to send a file in a servlet ,suddenly some error occurs like app server crash ..
What happens to the upload ..


karim
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39575
    
  27
What does "sending a file" mean - uploading via HTTP? And what is "some error"? TellTheDetails


Ping & DNS - updated with new look and Ping home screen widget
karimkhan pathan
Ranch Hand

Joined: Jul 14, 2008
Posts: 86
yes uploading via HTTP ..
sorry for not providing details ..
Ankit Garg
Sheriff

Joined: Aug 03, 2008
Posts: 9280
    
  17

karimkhan pathan wrote:suddenly some error occurs like app server crash

If the server crashes, the upload will stop. Your question is still not very clear because "some error" is quite a broad range...


SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

It also depends on how the server is handling the upload; you might get a partial file, you might get nothing.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: sending a file
 
Similar Threads
Sun J2EE RI 1.4 deployment problem.
Download the .lzh file with prompting file save dialog
jsp page appears in xml tree format. how can i fix this?
Out of memory error when opening an XML of size 18 MB
renameTo()?