URLDecode exception of data recieved in CXF Web Service Query param in java -
i have 1 cxf web service accepts query param. while hitting url, urlencode on data , send query param. , in web service method , use urldecode on query param data. problem when used % in query param data , url encode , send web service; in web service method when use urldecode exception "java.lang.illegalargumentexception: urldecoder: illegal hex characters in escape (%) pattern - input string: "te"
".
when have debug found parameter recieved in web service urldecoded. , when use again url decode exception.
so, can in transfer of query param data in web service calling pass through urldecode.
Comments
Post a Comment