tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard Mixon" <>
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 [] On Behalf Of Bill Barker
Sent: Friday, October 07, 2005 10:13 PM
Subject: Re: Tomcat 5.5.12 and user-agent header

"Richard Mixon" <> wrote in message
>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:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message