protected String getParameterMarkup(String name, Object value) {
   StringBuffer sb = new StringBuffer();
   try {
     HTTPSettings webSettings = HTTPSettings.lookup();
     sb.append(URLEncoder.encode(name, webSettings.getEncoding()))
         .append("=")
         .append(URLEncoder.encode(String.valueOf(value), webSettings.getEncoding()));
   } catch (UnsupportedEncodingException e) {
     log.error("Error: ", e);
   }
   return sb.toString();
 }
 protected String getEncoding() {
   HTTPSettings fr = HTTPSettings.lookup();
   return fr.getEncoding();
 }