How do I get information about the browser in a Java/Wicket/Maven Project?
Greetings
Wicket 6.x also provides org.apache.wicket.ajax.AjaxClientInfoBehavior
. A demo of it can be seen at: http://www.wicket-library.com/wicket-examples-6.0.x/ajaxhellobrowser/
You can capture the browser information using the following code
Exerpt taken from WICKET Documentation
EDIT Updated from comments.
The above code is for Wicket 1.4.x. For newer versions of Wicket replace getWebRequestCycle() with getRequestCycle()