https://issues.apache.org/bugzilla/show_bug.cgi?id=49426
Summary: Manager app wrongly localized
Product: Tomcat 7
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Manager
AssignedTo: [email protected]
ReportedBy: [email protected]
Created an attachment (id=25582)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=25582)
Patch (with unit test) fixing the problem for the ManagerServlet
The manager app shows message using the server's default locale whereas it
should react on the request Locale.
The cause is that the ManagerServlet uses StringManager what is fine for
messages that are logged but not for those that are sent as responses.
The attached patch fixes the problem for the ManagerServlet but not for the
HTMLManagerServlet. It will require a bit more refactoring there because the
same messages may be intended for log or for output to the response. I can
propose a second patch for it once the problem has been fixed for the
ManagerServlet.
For info: same problem occurs in Tomcat 6.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]