Search code examples
javahtmlencodingwebserverhttp-request

request/response parameters are encoded by browser by default?


when i send the request to webserver, as per my understanding , browsers does not encode the request paramtersfor example :- some value entered by user under textarea (be it post or get form submission) by default. Similarly webservers(specially tomcat) does not do that. Is my understanding correct?

i am aware browser/webserver do the encoding/decoding foe url by default but not sure about request paramters?


Solution

  • For URL encoding on servers you need to configure in the application server, here is the link Configuring URL Encoding on Tomcat