User Tools

Site Tools


uri_parameter_encoding

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

uri_parameter_encoding [2014/03/06 09:12] (current)
mihael created
Line 1: Line 1:
 +====== URI Parameter Encoding ======
 +To encode the URI or a part of it is not always as easy as it seems. The standard Java library has a the ''​java.net.URLEncoder''​ class which helps a lot on the encoding part.
  
 +  URLEncoder.encode(value,​ "​UTF-8"​);​
 +
 +{{tag>​devel java}}
uri_parameter_encoding.txt ยท Last modified: 2014/03/06 09:12 by mihael