Problems picking up accentuated files on Tomcat 8!

Asked

Viewed 285 times

2

I have the same application on Tomcat 7 and in the Tomcat 8, only in the Tomcat 8 is a problem, I’m src of an image but in the image files it has an "not found" error accentuation, it follows images:

inserir a descrição da imagem aqui inserir a descrição da imagem aqui

file name: FAVORITOS-MENU - SEM SELEÇÃO_e86aff0a5ad040e3b0232a075079dd46.png

if I change SELE%C7%C3O for SELEÇÃO direct link works normally... and remembering in the Tomcat 7 works normally!

  • I Solve this, I had to put "Uriencoding="ISO-8859-1"" on conf/server.xml, contrary to what I found in tutorials that Spoke to put "UTF-8".

1 answer

1


Solved, I had to put URIEncoding="ISO-8859-1 in conf/server.xml, unlike what I found on the internet that spoke to put "UTF-8":

inserir a descrição da imagem aqui

Browser other questions tagged

You are not signed in. Login or sign up in order to post.