This seems to be a bug ?? :

I have a custom jsp tag, in the doEndTag() method of which I set an
http header using the call: 

response.setIntHeader("expires", -1441);

and I get the exception

java.lang.ArrayIndexOutOfBoundsException
        at
allaire.jrun.util.SimpleNumberFormat.formatToBuf(SimpleNumberFormat.java:43)
        at
allaire.jrun.util.SimpleNumberFormat.format(SimpleNumberFormat.java:9)
        at
allaire.jrun.ServletConnection.formatIntegerHeader(ServletConnection.java:353)
        at
allaire.jrun.ServletConnection.setIntHeader(ServletConnection.java:358)
...


Using setHeader instead works OK.

Luke.


-- 
 Luke Taylor.
 PGP Key ID: 0x57E9523C
------------------------------------------------------------------------------
Archives: http://www.egroups.com/group/jrun-interest/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/jrun_talk
or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the 
body.

Reply via email to