I am running into a problem with respect to URI encoding.
In tomcat server.xml, I have set URIEncoding="UTF-8" for the connector configuration. And in my servlet, there is a function which converts the request data to UTF-8.
The problem is the request data, that is passed via URL, which is in UTF-8, is re-encoded to UTF-8 and hence garbage value is seen in the jsp.
Is there a way to get the encoding type of the URL in the servlet?
I dont want to modify my server.xml file neither do I want to remove the java method that encodes the request data.