Compare commits

...

2 Commits
main ... cx

@ -81,7 +81,8 @@ public class ExportExcelServlet extends HttpServlet {
writer.flush(out, true); writer.flush(out, true);
// 关闭writer释放内存 // 关闭writer释放内存
writer.close(); writer.close();
// 关闭输出流
// 关闭输出流.
IoUtil.close(out); IoUtil.close(out);
} }
} }

@ -53,7 +53,8 @@ public class GetAdminByUserName extends HttpServlet {
* @throws IOException IO * @throws IOException IO
*/ */
protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
// TODO Auto-generated method stub // TODO Auto-generated method stub.
doGet(request, response); doGet(request, response);
} }
} }
Loading…
Cancel
Save