最近中文字幕高清中文字幕无,亚洲欧美高清一区二区三区,一本色道无码道dvd在线观看 ,一个人看的www免费高清中文字幕

為了賬號(hào)安全,請及時(shí)綁定郵箱和手機(jī)立即綁定

空指針異常??

java.lang.NullPointerException

type?Exception report

message?An exception occurred processing JSP page /request.jsp at line 30

description?The server encountered an internal error that prevented it from fulfilling this request.

exception

org.apache.jasper.JasperException: An exception occurred processing JSP page /request.jsp at line 30

27: ? ? ?”¨??·??????<%=request.getParameter("username") %><br>
28: ? ? ??±?¥????<%
29: ? ? String[] favorites = request.getParameterValues("favorite");
30: ? ? for(int i=0;i<favorites.length;i++)
31: ? ? {
32: ? ? out.println(favorites[i]+"&nbsp;&nbsp;");
33: ? ? }

代碼如下

? <body>

? ? <h1>request內(nèi)置對象</h1>

? ? 用戶名:<%=request.getParameter("username") %><br>

? ? 愛好:<%

? ? String[] favorites = request.getParameterValues("favorite");

? ? for(int i=0;i<favorites.length;i++)

? ? {

? ? out.println(favorites[i]+"&nbsp;&nbsp;");

? ? }

? ? %>


正在回答

1 回答

你是不是頁面跳轉(zhuǎn)前在愛好選項(xiàng)上沒有勾選

0 回復(fù) 有任何疑惑可以回復(fù)我~

舉報(bào)

0/150
提交
取消
JAVA遇見HTML——JSP篇
  • 參與學(xué)習(xí)       248276    人
  • 解答問題       3215    個(gè)

Java Web入門級(jí)教程JSP,帶你輕松的學(xué)習(xí)JSP基礎(chǔ)知識(shí)

進(jìn)入課程

空指針異常??

我要回答 關(guān)注問題
微信客服

購課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)