File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Servlet sends zip file to client

 
sindy lee
Greenhorn
Posts: 14
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, everyone,
I have a problem and need your help. My servlet is:



And my client is:




The Problem is, if i try to open my "zipmaildir.zip", it tells me "the file can not opened, it is not a zip file". So what's wrong here? How should i send my compressed files stream to client, and how can i convert it to a file?
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic