RE: Screen Flow based on UserAgent in Struts

2002-02-12 Thread Alex Colic
: February 11, 2002 1:50 PM To: [EMAIL PROTECTED] Subject: Re: Screen Flow based on UserAgent in Struts >>>>> "Sam" == Sam Cheung <[EMAIL PROTECTED]> writes: Sam> Hi, Sam> Is there a way to config Struts to forward a different Sam> jsp based

Re: Screen Flow based on UserAgent in Struts

2002-02-10 Thread cody.burleson
I believe the USR AGENT is passed in the request header. You should, therefor be able to easily get a handle on it using your Action object. To enumerate through all header names available: java.util.Enumeration e = request.getHeaderNames(); while(e.hasMoreElements()) { String name = (Stri