tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ralph Einfeldt <ralph.einfe...@uptime-isc.de>
Subject AW: AW: Why doesn't this work:
Date Fri, 01 Jun 2001 11:57:46 GMT
String[] paramValues = request.getParameterValues(paramName);

if (paramValues == null) {
  // Do what you want
} else if (paramValues.length == 1) {
  // Do what you want
} else { 
  // Do what you want
}

> -----Urspr√ľngliche Nachricht-----
> Von: Terje Kristensen [mailto:terje.kristensen@igroup.no]
> Gesendet: Freitag, 1. Juni 2001 14:12
> An: tomcat-user@jakarta.apache.org
> Betreff: Re: AW: Why doesn't this work:
> 
> 
> Any idea on how to get rid of this error? 
> 
> Terje K.
> ---------- Original Message ----------------------------------
> From: Ralph Einfeldt <ralph.einfeldt@uptime-isc.de>
> Reply-To: tomcat-user@jakarta.apache.org
> Date: Thu, 31 May 2001 15:46:56 +0200
> 
> >It looks like request.getParameterValues(paramName)
> >returns a null value on at least one param.
> >
> 
> 

Mime
View raw message