How to get browser information in JSP?

jsp

Solution

For the browser part you need to parse the reqeust's User-Agent section.

String browserType = request.getHeader("User-Agent");

There you'll find the relevant information...

Problem

How do you get Client IP and Browser information using JSP?

Original source