Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Servlet sends zip file to client

 
sindy lee
Greenhorn
Posts: 14
  • 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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic