struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richard Sayre <richardsa...@gmail.com>
Subject Re: determine if iphone user?
Date Fri, 01 May 2009 17:59:03 GMT
I think the HTTP_USER_AGENT header should be similar to:

Mozilla/5.0 (iPhone; U; CPU like Mac OS X; en) AppleWebKit/420+
(KHTML, like Gecko) Version/3.0 Mobile/1A543a Safari/419.3

If a request comes from the IPhone browser

On Fri, May 1, 2009 at 3:06 PM, Andy <andrhahn@hotmail.com> wrote:
>
> Hi, is there an easy way to tell in an s2 action if the request is coming from an iphone/mobile
device?
>
> Thanks!
>
> _________________________________________________________________
> Insert movie times and more without leaving HotmailĀ®.
> http://windowslive.com/Tutorial/Hotmail/QuickAdd?ocid=TXT_TAGLM_WL_HM_Tutorial_QuickAdd1_052009

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message