完全按照教程來(lái)的 啊
web.xml注冊(cè)的時(shí)候?qū)懙腟ervlet和Servlet-mapping標(biāo)簽都提示這個(gè):
Element 'servlet' cannot have character [children], because the type's content type is element-only. web.xml?
還有HelloServlet的類(lèi)里面PrintWriter out = Response.GetWriter();這一行提示
PrintWriter cannot be resolved to a type和Response cannot be resolved這兩個(gè)錯(cuò)誤啊
2018-10-07
9:54的對(duì)話框是怎么彈出來(lái)的 啊,快捷鍵是什么
2018-10-07
視頻1-3里6:19的快捷鍵是什么啊
2018-10-07
response問(wèn)題錯(cuò)在大小寫(xiě)上面.
2018-10-07
PrintWriter cannot be resolved to a type這個(gè)錯(cuò)誤是因?yàn)闆](méi)有導(dǎo)入java.io.PrintWriter.(視頻里確實(shí)沒(méi)有說(shuō)要這樣??!),response那個(gè)是什么原因啊
2018-10-07
第一個(gè)錯(cuò)誤找出來(lái)了,不能在web.xml中用//加注釋