W3C home > Mailing lists > Public > www-jigsaw@w3.org > May to June 2003

set ContentDisposition

From: Felicia Ionascu <feliciaionascu@yahoo.com>
Date: Wed, 7 May 2003 03:19:57 -0700 (PDT)
Message-ID: <20030507101957.52369.qmail@web14303.mail.yahoo.com>
To: www-jigsaw@w3.org

Hello,
Could someone tell me what's wrong with this code
(jigsaw 2.2.2)?

response.setHeader("Content-Disposition", "attachment;
filename=PEWG.zip")

With the debugger, the values I get after this line
are (hope it's understandable):

HttpServletResponse.reply.headers.keys[0]="content-disposition"
HttpServletResponse.reply.headers.values[0].value=null
HttpServletResponse.reply.headers.values[0].isValid=false
HttpServletResponse.reply.headers.values[0].raw=byte[29]
 (the good string)
HttpServletResponse.reply.headers.values[0].roff=0

Why  values[0].value=null when in values[0].raw there
is the right value?

Is that a bug in jigsaw?

Thanks,
Felicia

__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com
Received on Wednesday, 7 May 2003 06:19:59 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 April 2012 12:13:36 GMT