Hi, How do I access the request variable or HTTP request headers? I want to do something like the following in my action: request.getHeader("Accept").toLowerCase().indexOf("vnd.wap") I am trying to detect whether the user is using a wireless device such as a Blackberry in my action to determine which .jsp to send the user to in order to display the output in a nicely formatted manner.
Thanks, Ben http://benmccann.com benmccann.com -- View this message in context: http://www.nabble.com/-S2--Accessing-HTTP-Header-tf3907721.html#a11079394 Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]