SpringMVC 返回null或是不返回视图时报错了,怎么解决啊
@RequestMapping("/fa/heath/weight_add1.do")publicvoidaddUser1(StringweightDate,String...
@RequestMapping("/fa/heath/weight_add1.do")
public void addUser1(String weightDate,String weightValue) {
System.out.println("weightDate is:"+weightDate);
System.out.println("weightValue is:"+weightValue);
}
严重: Servlet.service() for servlet [dispatcherServlet] in context with path [/jk] threw exception [Could not get RequestDispatcher for [fa/heath/weight_add1]: Check that the corresponding file exists within your web application archive!] with root cause 展开
public void addUser1(String weightDate,String weightValue) {
System.out.println("weightDate is:"+weightDate);
System.out.println("weightValue is:"+weightValue);
}
严重: Servlet.service() for servlet [dispatcherServlet] in context with path [/jk] threw exception [Could not get RequestDispatcher for [fa/heath/weight_add1]: Check that the corresponding file exists within your web application archive!] with root cause 展开
1个回答
2016-11-11
展开全部
根据具体的错误信息,去解决问题 现在看到的信息,不具体
本回答被提问者采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询