Please browse the categories below to previous answers to questions like yours. If you do not find the answer for your particular situation, ask for help on the appropriate mailing list.
(Answer) (Category) Java Apache Project : (Category) Apache JServ 1.0 : (Category) Feature Requests :
setHeader is based on Hashtable
I'm using HttpServletRespone.setHeader to set pricing information (used by a specialized HttpClient). Due to the internal used of Hashtable, multiple
        setHeader("pricing", "leftframe=FREE"); 
        setHeader("pricing", "rightframe=COST");
will cause only the last header to be send.
javaAThogiDOTde
Actually, it is your implementation and not Apache JServ, so do not expect to see this feature added.

First off, you should never set a HTTP header on your own other than having it as X-. Please read the HTTP specs regarding this.

Also, how is Apache JServ supposed to know how you want the data deliminated between the items? There is nothing in the JSDK that would allow us to get/set this information in a non-servlet engine specific way.

I really suggest that you take another look at what you are trying to do here. In 99.99% of the cases, you should not have to define your own HTTP headers.

jonATworking-dogsDOTcom

I didn't dig too deep into the Apache module and not at all into the ajpv* protocol, but I though setting multiple cookies should be similar (which are stored in a vector).
The need to this kind of header was initiated by a ´document'-provider who accesses our documents and expects the pricing information by header.


javaAThogiDOTde

[Append to This Answer]
Previous: (Category) File based initArgs
Next: (Answer) Feature Request
This document is: http://java.apache.org/faq/?file=146
[Search] [Appearance] [Show Expert Edit Commands]
This is a Faq-O-Matic 2.709.
Please browse the categories below to previous answers to questions like yours. If you do not find the answer for your particular situation, ask for help on the appropriate mailing list.