I
inetquestion
I am trying to add a check in my web app to look for a query string
parameter and produce different output depending on the value of
param1 if it exists. With the code below it works fine if there is no
query string parameters, but hangs if there are any present. I'm new
to Java, so any help would be appreciated.
Enumeration e = request.getParameterNames();
while (e.hasMoreElements())
{
String[] debug_array = request.getParameterValues("param1");
debug = (String) debug_array[0];
}
-Inet
parameter and produce different output depending on the value of
param1 if it exists. With the code below it works fine if there is no
query string parameters, but hangs if there are any present. I'm new
to Java, so any help would be appreciated.
Enumeration e = request.getParameterNames();
while (e.hasMoreElements())
{
String[] debug_array = request.getParameterValues("param1");
debug = (String) debug_array[0];
}
-Inet