学习jsp时,出现错误java.lang.IllegalArgumentException,Invalid character found in the request target.

1. 今天学习jsp中跳转到指定页码时,输入页码,发现以下错误:
java.lang.IllegalArgumentException: Invalid character found in the request target. The valid characters are defined in RFC 7230 and RFC 3986

学习jsp时,出现错误java.lang.IllegalArgumentException,Invalid character found in the request target.

2、点击确定,出现如下错误:
学习jsp时,出现错误java.lang.IllegalArgumentException,Invalid character found in the request target.
3、发现链接是:
http://localhost:8080/book/manager/bookServlet?action=page&pageNo=[object Object],最后的pageNo是jquery对象,未转换成值。

学习jsp时,出现错误java.lang.IllegalArgumentException,Invalid character found in the request target.
4、修改后就可用正常跳转了。