The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
September 2000

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

download file of any type from Servlet perfor...

Posted by chmallareddy on February 23, 2001 at 10:40 AM

I am also getting same problem.. can any one help me to solve this type of problem
I tryed this but there is no luck..

res.setHeader("Content-Disposition","attachment; filename=\"" + "abc.txt" + "\";");

thanks,
Malla Reddy
mchoodi@q-markets.com



Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us