• Post Reply Bookmark Topic Watch Topic
  • New Topic

accessing int value from previous page  RSS feed

 
deepak borole
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have a page in which user needs to enter int value.........i have 2 access it from next page......i used getParameter but it returns in d form of a string......i need it in the form of integer value...
 
Sameer Damle
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
well u can use parseInt() static method from Integer class and pass the getParameter value to it to get back the int value.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!