課程
/后端開發(fā)
/Java
/通過自動回復(fù)機器人學(xué)Mybatis---基礎(chǔ)版
請問要在瀏覽器上寫什么地址才能顯示list.jsp頁面
2016-12-27
源自:通過自動回復(fù)機器人學(xué)Mybatis---基礎(chǔ)版 2-5
正在回答
你可以在首頁index.jsp中增加一個跳轉(zhuǎn)
<%request.getRequestDispatcher("/List.action").forward(request, response); %>
這樣打開首頁的時候就跳過去了
寫servlet配置中的
<servlet-mapping>
? ? <servlet-name>ListServlet</servlet-name>
? ? <url-pattern>/List.action</url-pattern>
? </servlet-mapping>
http://localhost:8888/MicroMessage/List.action
我也是對照視頻一步一步做的,不知道為什么是List.action
舉報
微信公眾號自動回復(fù)功能學(xué)習(xí)Mybatis,基礎(chǔ)教程加案例實戰(zhàn)方式學(xué)習(xí)
3 回答瀏覽器的地址欄怎么輸才能顯示jsp頁面?
2 回答我的list.jsp頁面在tomcat啟動之后,在瀏覽器出來怎么全是亂碼呀?
2 回答瀏覽器顯示404錯誤
2 回答只有360瀏覽器顯示網(wǎng)頁亂碼,網(wǎng)頁編碼語言正確
1 回答為什么在非eclipse自帶的瀏覽器里可以刪除,而在自帶的瀏覽器里不能刪除?
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號-11 京公網(wǎng)安備11010802030151號
購課補貼聯(lián)系客服咨詢優(yōu)惠詳情
慕課網(wǎng)APP您的移動學(xué)習(xí)伙伴
掃描二維碼關(guān)注慕課網(wǎng)微信公眾號
2017-01-16
你可以在首頁index.jsp中增加一個跳轉(zhuǎn)
<%request.getRequestDispatcher("/List.action").forward(request, response); %>
這樣打開首頁的時候就跳過去了
2016-12-28
寫servlet配置中的
<servlet-mapping>
? ? <servlet-name>ListServlet</servlet-name>
? ? <url-pattern>/List.action</url-pattern>
? </servlet-mapping>
2016-12-28
http://localhost:8888/MicroMessage/List.action
我也是對照視頻一步一步做的,不知道為什么是List.action