Re: determine if iphone user?

2009-05-03 Thread Zoran Avtarovski
Subject: Re: determine if iphone user? From: richardsa...@gmail.com To: user@struts.apache.org 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

determine if iphone user?

2009-05-01 Thread Andy
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Ā®.

Re: determine if iphone user?

2009-05-01 Thread Richard Sayre
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 andrh...@hotmail.com wrote: Hi,

RE: determine if iphone user?

2009-05-01 Thread Andy
Cool, so is there a way to add a getter/setter in my action class to automatically pick up the request header, similar to parameters? Date: Fri, 1 May 2009 15:29:03 -0230 Subject: Re: determine if iphone user? From: richardsa...@gmail.com To: user@struts.apache.org I think

Re: determine if iphone user?

2009-05-01 Thread Bhaarat Sharma
/setter in my action class to automatically pick up the request header, similar to parameters? Date: Fri, 1 May 2009 15:29:03 -0230 Subject: Re: determine if iphone user? From: richardsa...@gmail.com To: user@struts.apache.org I think the HTTP_USER_AGENT header should be similar