Is it possible to derive the preferred language from a httpsession object (javax.servlet.http.HttpSession) ? It is possible to get it from the servletrequest but I dont have tha
As its Javadoc shows, there is no method which does exactly that.
Either just obtain it from the request (preferred), or store it as an attribute of the session yourself.