這個錯誤怎么解決
Description?The server encountered an unexpected condition that prevented it from fulfilling the request.
Exception
org.apache.jasper.JasperException:?An?exception?occurred?processing?[/object_out/cookie.jsp]?at?line?[13]
10:? <%
11:? request.setCharacterEncoding("utf-8");
12:? String[]?isUseCookie?=?request.getParameterValues("isChecked");
13:? if?((isUseCookie!=null)?||?(isUseCookie.length?>?0))?{
14:? String?username?=?request.getParameter("username");
html標簽
<td><input?type="checkbox"?name="isChecked"?checked="checked"?value="">記住密碼</td>
15:? String?password?=?request.getParameter("password");
16:? Cookie?usernameCookie?=?new?Cookie("username",?username);//使用cookie
2018-04-05
||邏輯改成&&