Java tutorial
//package com.java2s; import java.util.List; public class Main { public static String convertListToURLParamsString(List<?> values) { StringBuffer buff = new StringBuffer(); for (Object object : values) { buff.append(object.toString() + "&"); } buff.replace(buff.length() - 1, buff.length(), ""); return buff.toString(); } }