今天遇见了一个异常是这样:

输入查询http://localhost:8080/Book/list.action时,没有出现展示页面,而是这个错误:

java.lang.NumberFormatException: For input string: "productList"_lang

具体原因是:

java.lang.NumberFormatException: For input string: "productList"_java_02

查到错误原因在这里:

java.lang.NumberFormatException: For input string: "productList"_lang_03

用Book类接收了,应该是用PageBean来接收数据,所有一开始接口就写错了;