----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

Hi, I'm running Jserv 1.0 and gnujsp 0.9.10. I'm having a problem getting some headers 
set they way I think they should be. 

I have a script that is going to be spitting out a bunch of tab delimited data. So I 
set the content type to text/tsv. In PHP, if you set the Content-Disposition to a file 
name, that name will appeare in the file download dialoug box. Doesn't seem to be 
working here, just defaults to the name of the scritpt.

 if(output_to_file)
                {
                        response.setHeader("Content-Dispostion:","orders.tsv");
                        response.setContentType("text/tsv");
...

Any ideas?

jrw


--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to