This is because there is a problem with the type conversion, <"pageno=${currpage-1};"> is added; the system will not treat it as a string, so an error will be reported.
Add more; remove it. It is inconsistent with the accepted type, so an error will be reported.