请求重定向报错
请求重定向的时候,由reg.jsp跳转到response.jsp,再重定向到request.jsp,为什么会报错呢?
org.apache.jasper.JasperException: An exception occurred processing JSP page /request.jsp at line 17
14: 鐢ㄦ埛鍚嶏細<%=request.getParameter("username") %><br/>
15: 鐖卞ソ锛�<%
16: String[] favorite = request.getParameterValues("favorite");
17: for(int i=0; i<favorite.length; i++) {
18: out.print(favorite[i] + " ");
19: }
20: %>
请问这是为什么?