Querystring through hyperlink
I am using an Apache Tomcat 4.0 Server.
I am using JDK 1.3.1.
The issue that I am trying to accomplish is to pass an integer number through
a hyperlink by querystring.(EX: ?test=1. When I pass an integer value it
goes to the next page and is treated as string. I get the String value by
declaring a String testing= request.getParameter("test"); Then I use the
Integer.parseInt to covert the information back to an integer. Here is when
I run into a problem. When I pass it into a function for a select query operation
, then it comes up with a java.lang.NullPointerException then it says the
integer value is NULL. I have been beating my brains with the syntax. Help
would be much appreciated.
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center