DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22143>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22143 <html:html/> sets requested locale to HTML lang attribute Summary: <html:html/> sets requested locale to HTML lang attribute Product: Struts Version: 1.1 Final Platform: All OS/Version: All Status: NEW Severity: Major Priority: Other Component: Controller AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Struts tag <html:html locale="true" xhtml="true"> sets the locale from request.getLocale() to the HTML documents language. The <html> tag lang attributes value should be the language code in which the document is written. Note! request.getLocale() returns the users preferred locale, but this locale isn't necessarily supported by the webapp. You can easily reproduce this bug by setting your language preference (Mozilla: Edit->Preferences->Navigator->Languages) to a language that is not supported by the webapp (Choose Finnish, thats a good language and likely unsupported:). The generated HTML defines the requested locale as the language of the HTML document. I have reported this bug once earlier:) And it was fixed in 1.0.1, if I remember correctly. http://www.mail-archive.com/[EMAIL PROTECTED]/msg00101.html --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]