@SuppressWarnings("unchecked")
    public static void print(HttpServletRequest request) {
		Map<String, String[]> parameters = request.getParameterMap();

        for (Map.Entry<String, String[]> entry : parameters.entrySet()) {
            String name = entry.getKey();
            String[] values = entry.getValue();

            for (int i = 0; i < values.length; i++) {
                System.out.println(name + "[" + i + "] = " + values[i]);
            }
        }
    }