tomcat
-
[tomcat] URI Encoding (Percent Encoding)tomcat 2024. 9. 25. 23:12
@WebServlet("/test/percentEncoding")public class PercentEncodingServlet extends HttpServlet { @Override protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { System.out.println("=== PercentEncodingServlet.doGet ==="); System.out.println("request = " + request); String username = request.getParameter("username"); System.out.pri..