<commit_before>package com.homeinns.web.servlet;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
public class DemoAction extends HttpServlet {
	private static final long serialVersionUID = 1L;
	protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
		doPost(request, response);
	}
	protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
		request.setCharacterEncoding("utf-8");
		response.setCharacterEncoding("utf-8");
		String msg = "您上传了：<br/>";
		String[] fileUrls = request.getParameterValues("fileUrl");
		String[] fileNames = request.getParameterValues("fileName");
		for (int i = 0; i < fileUrls.length; i++) {
			msg += "文件路径：" + fileUrls[i] + " 文件名称：" + fileNames[i] + "<br/>";
			// System.out.println(fileUrls[i] + " " + fileNames[i]);
		}
		String name = request.getParameter("name");
		msg += "用户名：" + name + "<br/>";
		String pwd = request.getParameter("pwd");
		msg += "密码：" + pwd + "<br/>";
		request.setAttribute("msg", msg);
		request.getRequestDispatcher("/success.jsp").forward(request, response);
	}
}
<commit_msg>Modify Code add log !<commit_after>package com.homeinns.web.servlet;

import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public class DemoAction extends HttpServlet {
	private static final long serialVersionUID = 1L;

	protected void doGet(HttpServletRequest request,
			HttpServletResponse response) throws ServletException, IOException {
		doPost(request, response);
	}

	protected void doPost(HttpServletRequest request,
			HttpServletResponse response) throws ServletException, IOException {
		request.setCharacterEncoding("utf-8");
		response.setCharacterEncoding("utf-8");
		String msg = "您上传了：<br/>";
		String[] fileUrls = request.getParameterValues("fileUrl");
		String[] fileNames = request.getParameterValues("fileName");
		for (int i = 0; i < fileUrls.length; i++) {
			msg += "文件路径：" + fileUrls[i] + " 文件名称：" + fileNames[i] + "<br/>";
			System.out.println(fileUrls[i] + " " + fileNames[i]);
		}
		String name = request.getParameter("name");
		msg += "用户名：" + name + "<br/>";
		String pwd = request.getParameter("pwd");
		msg += "密码：" + pwd + "<br/>";
		request.setAttribute("msg", msg);
		request.getRequestDispatcher("/success.jsp").forward(request, response);
	}
}

{'fraction_non_alphanumeric': 0.14491108588724932, 'fraction_numerical': 0.003026863412788498, 'mean_word_length': 5.512315270935961, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1082911', 'n_tokens_mistral': 855, 'n_tokens_neox': 828, 'n_words': 178}