不能太跳轉(zhuǎn)到注冊(cè)成功頁(yè)面,且userinfo頁(yè)面無(wú)法正常顯示,爆500錯(cuò)誤?。?!
message?An?exception?occurred?processing?JSP?page?/userinfo.jsp?at?line?65 description?The?server?encountered?an?internal?error?that?prevented?it?from?fulfilling?this?request. org.apache.jasper.JasperException:?An?exception?occurred?processing?JSP?page?/userinfo.jsp?at?line?65 62:???????????<td?class="content"> 63:?????????????<%? 64:????????????? SimpleDateFormat?sdf?=?new?SimpleDateFormat("yyyy騫碝M鏈坉d鏃?"); 65:?????????????????String?date?=?sdf.format(regUser.getBirthday());??????? 66:?????????????%> 67:??????????????<%=date%> 68:???????????</td>
沒看懂這個(gè)要怎么該?
2018-12-27
你也應(yīng)該是直接使用的源碼,沒做改動(dòng)就想看一下userinfo.jsp頁(yè)面的效果,然后出現(xiàn)報(bào)錯(cuò)?
可以試著把userinfo.jsp頁(yè)面中的所有jsp代碼部分去掉.
視頻中也是后面一點(diǎn)點(diǎn)加上的JSP代碼.剛開始只是一個(gè)靜態(tài)頁(yè)面。所以只需要HTMl/CSS做的靜態(tài)網(wǎng)頁(yè)就行.