agent « User « JSP-Servlet Q&A





1. Alternative to User-Agent in .jsp    stackoverflow.com

Sometimes in my .jsp i use User-Agent in order to define what .css class or attribute to use dependently upon client's browser. example:

<c:set var="browser" value="${header['User-Agent']}" scope="session"/>

       ...

2. Print User Agent by JSP    coderanch.com

3. Display jsp based on user agent    coderanch.com