【发布时间】:2016-06-24 19:55:43
【问题描述】:
这是我的问题,我需要将一个 arrayList 从 servlet 传递给 JSP
protected void doPost(HttpServletRequest request,HttpServletResponse response) throws ServletException, IOException {
String text = request.getParameter("text");
ServletContext context = getServletContext();
context.log(text);
StringProcess(text,context);
response.sendRedirect("sucess.jsp");
}
【问题讨论】: