Via Cà Matta 2 - Peschiera Borromeo (MI)
+39 02 00704272
info@synaptica.info

Tomcat URI encoding configuration

Digital Innovation Partner

Tomcat URI encoding configuration

The default configuration of Tomcat server includes the encoding charset ISO-8859-1.
It often happens that web applications require instead frontend and backend using different character encodings, such as UTF-8.
In these cases, reading and writing strings with special characters can be problematic…

To change this default configuration just edit the server.xml configuration file (directory “conf” tomcat) setting the “URIEncoding” attribute to the Catalina service:

Bye

Lascia un commento