Explain URL Encoding?

devquora
devquora

Posted On: Feb 22, 2018

 

URL Encoding means the changing of data into CGI. It is done to circumvent any type of issue while it is going over the network. URL coding is schemed by removing the white spaces and put any escape symbols. Thus, the special characters are removed. To encode any string java.net.URLEncoder.encode (String str, String Unicode) is used and to decode the URL java.net.URLDecoder.decode (String str, String Unicode) is used. Let's take an example to simplify it. To encode 'Ravi's data' it is changed into 'Ravi/24d+data'.

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    Java Servlet Interview Questions

    What do you mean by Servlet?

    It is designed by the Java software company. It is used to extend the ability of the server...

    Java Servlet Interview Questions

    Which HTTP method is said to be non-idempotent and idempotent?

    If any HTTP brings the same result every time then it means it is idempotent...