tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Sandiford" <>
Subject RE: Request.getHeader(String) and multiple headers with the same name...
Date Thu, 21 Feb 2002 03:14:41 GMT
> When I use Request.getHeader() on this thing, I only get the first
> one, which is "text/vnd.wap.wml", which doesn't help me know what kind
> of images, etc, I can send to this lovely device.

Request.getHeaders() is probably what you want.  It returns an
Enumeration that you can iterate over to fish out all the values.

It's part of the servlet API.


To unsubscribe:   <>
For additional commands: <>
Troubles with the list: <>

View raw message