I need some help with the following problem. We have an existing web application that uses no framework at all (just servlets) and we need to add new functionalities but instead of adding a new servlet to the
As far as I know there is no direct way to tell Struts to use another session attribute for using the locale. And even if Struts could do this, you'd need to implement a mapping between your custom integer and a "real"
javax.servlet.http.HttpSessionAttributeListenerwhich syncs the LANGUAGE attribute to the corresponding Struts locale attribute