A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCM Java EE 6 Enterprise Architect Exam Guide
this week in the
Re: downloading from a servlet
Joined: Sep 28, 2005
Jan 27, 2006 07:24:00
i included the
response.setHeader("Content-Disposition", "attachment; filename=file.txt"));
the only thing that its not downloading my attached file, rather, its set the filename to null, and its downloading the dynamic html generated by my servlet into a file.
So am i supposed to actually code for the download itself?
"Human beings can alter their lives by altering their state of mind" William James
Joined: Dec 11, 2004
Jan 27, 2006 07:39:00
Please keep your question in one thread.
It gets confusing if it's spread out in multiple threads.
The original is here:
How to ask a question...
Simple Servlet Examples
subject: Re: downloading from a servlet
File Downloads using servlets
JXL with weblogic
download link in jsp ?
error locating file in servlet
downloading from a servlet
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014