tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard Mixon" <rnmi...@qwest.net>
Subject RE: Tomcat 5.5.12 and user-agent header
Date Sat, 08 Oct 2005 19:29:47 GMT
I am just using the standard HTTP connector. This is on my development
workstation so I don't normally run JK and Apache, except for final testing.

On the developer list I did see one mention of user-agent header, but on
closer inspection it appeared to be for a completely different issue.

Thanks - Richard 

-----Original Message-----
From: news [mailto:news@sea.gmane.org] On Behalf Of Bill Barker
Sent: Friday, October 07, 2005 10:13 PM
To: tomcat-user@jakarta.apache.org
Subject: Re: Tomcat 5.5.12 and user-agent header


"Richard Mixon" <rnmixon@qwest.net> wrote in message
news:007801c5ca7b$0c13cea0$8a01a8c0@smartfish...
>I tested out my application on 5.5.12 yesterday and noticed one small  
>anomally. I had a JSP in my sitemesh decorator "default.jsp" that ends 
>up  wrapping the login page for container managed authentication. This 
>page  had  a statement
>    String  _userAgent = request.getHeader("user-agent").toLowerCase();
>
> It gets a null-pointer exception in 5.5.12, but under 5.5.9 it runs fine. 
> In
> 5.5.12, after the login succeeds then the user-agent headers appear to 
> be there just fine, but not on the initial login page.
>
> Is this a known issue?
>

It's certainly not a known issue.  It would help a lot if you could tell us
which Connector you are using at the time (e.g. HTTP/1.1, HTTP/1.1-APR,
AJP/1.3, AJP/1.3-APR).

> Thank you - Richard
> 




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



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


Mime
View raw message