• Post Reply Bookmark Topic Watch Topic
  • New Topic

request.getParameter returns input string: "undefined"

 
albert kao
Ranch Hand
Posts: 252
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My controller.java encounter an input string: "undefined".
Please help.


My jsp page use javascript as follows:


Eclipse Console output is:
rowsPerPageStr undefined
Servlet.service() for servlet hwmgr threw exception java.lang.NumberFormatException: For input string: "undefined"
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65526
105
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Perhaps it means that rowsPerPageStr is undefined.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!