请问我该如何取出HTTP header的值呢?
我在一个Filter里面拦截对jsp页面的请求,
处理完成后在header里面写入两个参数 appid和resid
然后向下传递
下面这段数据是我ieHttpHeader抓取的,说明appid和resid已经写入到了header里面
HTTP/1.1 200 OK
appid: 0
resid: 11111
Content-Type: text/html
Content-Length: 577
Date: Tue, 15 Jan 2008 10:48:42 GMT
Server: Apache-Coyote/1.1
现在问题是,我通过request.getHeader("appid")取不出来,为什么呢?我应该如何取得这个值呢?谢谢