錯誤:404 No result defined for action com.imooc.action.UsersAction and result input
解決方法:
struts.xml 中添加
<result name="input">/users/login.jsp</result>
解決方法:
struts.xml 中添加
<result name="input">/users/login.jsp</result>
2017-06-23
吃吃喝喝睡睡,做做項目,用了5天才做完。遇到的bug不少(自己制作居多),總算做完了。接著要做SSH項目,也要惡補一些javaweb的基礎知識了。哈哈謝謝老師
2017-06-21
最贊回答 / 小小慕學者
你可以參考一下:把下面的代碼內容,跟你寫的做一下對比一、在StudentsDAOImpl.java中實現添加學生的方法即可<...code...>二、StudentsAction類中add()方法:<...code...>三、struts.xml<...code...>四、Students_add.jsp中的form表單<...code...>
2017-06-19
最新回答 / 菜鳥幾號
哈哈哈,我也是啊!正確的:<action name="*_*" class="action.{1}Action" method="{2}">這是我寫的:<action name="*_*" class="action.(1)Action" method="(2)">怎么樣?看出來了嗎?老是復制粘貼的內容,我把{}看成了().花了我很長的時間啊!
2017-06-14