tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Sandiford" <Martin.Sandif...@aus.viptone.com>
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.

Martin

--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message