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=5483>.
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=5483

I18N fails using AJP 1.3 with Tomcat 4.01 final / Apache 1.3.22

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |LATER



------- Additional Comments From [EMAIL PROTECTED]  2002-01-30 10:17 -------
Quoting Costin:

There are 2 issues:
- extracting the language from the Accept-Language: header.
That should be implemented in tomcat ( and the servlet container ) -
as with the charset detection, that's at a higher level than the
connector.

- serving the 'right' page based on the accept-language header.
I believe there is a patch for 3.x, not sure if it was ever ported.
In the context of Apache+tomcat, all static files will support
the language header, using the apache convention and settings.
I'm not sure this is the same as the standalone impl ( apache
is based on extensions, index.html.en, while in 3.x it's based
on dirs en/index.html - but I haven't checked ).
Regadless of what's happening for static pages, there is no
rule defined for jsps AFAIK, the jsp itself should use one of the
existing taglibs or whatever to get the right language.

A workaround - for jsps - is to use the header directly. For static
files apache should deal with that without problems.

A bigger problem, which is not easy to fix in jk1.x, is charset
detection and setting, especially for the jni connector. That's going
to improve a lot in jk2 and o.a.jk, almost the same code used
for 3.3 will be used there too.

I would mark this bug as LATER for now.

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to