最新回答 / 小小小提莫
可能是你jsp頁面所在的項目沒有部署到web容器中
最新回答 / 慕尼黑1170528
看你自己是否使用ModelDriven的方法如果使用這種方法,實現(xiàn)了未定義的接口就緒要查看一下你自己的 getModel這個方式是不是使用的默認 return null如果是的話,修改代碼就可以正常獲取表單中的數(shù)據(jù)<...code...>
2016-09-28
最贊回答 / 北國VS飄雪
對了,同時要記得在struts.xml中配置<result name="add_success">/students/Students_add_success.jsp</result>
最新回答 / 慕粉3309523
找不到類org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter手動將Struts2的相關(guān)jar復(fù)制到/webContent/WEB-INF/lib目錄下看看
最新回答 / lee_0046
你的映射文件配置有問題應(yīng)該是下面的寫的有問題。??????? <id name="sid" type="java.lang.String">??????????? <column name="SID" />??????????? <generator class="assigned" />??????? </id>可能是少了這一句。<generator class="assigned" />
2016-09-16
已采納回答 / 天弈九幽
struts2.5在這個路徑org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter
2016-09-15
最新回答 / BeingTowards
你用的junit版本太高了,解決方法有兩個:1、換成junit低版本,如:junit-4.8.jar;2、添加hamcrest-core-1.3.jar到你的項目中,你缺少的類就在hamcrest-core-1.3.jar這個包中。
2016-09-14
最新回答 / youngple
public class Main { ????public static void main(String[] args) { ????????Scanner sc = new Scanner(System.in); ????????int N = sc.nextInt(); ????????int n = sc.nextInt(); ????????int[] d = new int[n + 1]; ????????int y = 0; ????????int l = 0; ??????...