Hello,

Does tomcat support content negotiation like apache httpd does [1] for the 
Accept-Language header? How to configure this for a webapp context?

Use case is *serving static pages* with "href=my_page.html" and where files in 
the webapp folder are actually 
 - my_page.html.en
 - my_page.html.de
 - my_page.html.fr
 - my_page.html.it
 - ...

At the moment, when trying to load my_page.html it shows 404 error.

>From what I understand it would be possible with 
>org.apache.tomcat.util.http.parser.AcceptLanguage, but only is served inside a 
>servlet. AFAIU this is not usable for static pages.

[1] https://httpd.apache.org/docs/current/content-negotiation.html

Regards
Fab



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to