tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Larry Isaacs" <Larry.Isa...@sas.com>
Subject RE: Tomcat 3.3.2: Not able to retrieve parameters
Date Tue, 23 Aug 2005 12:51:07 GMT
A simple test works for me.  Are you accessing Tomcat 3.3.2
directly or through another web server?

Larry

> -----Original Message-----
> From: Code Rebel [mailto:rebelcode@yahoo.com] 
> Sent: Monday, August 22, 2005 8:39 PM
> To: tomcat-user@jakarta.apache.org
> Subject: Tomcat 3.3.2: Not able to retrieve parameters
> 
> Hi all,
> 
> For some reason I'm not able to retrieve the parameters from a URL. 
> 
> I have a simple test JSP file that attempts to print out the 
> names and values of parameters passed via the URL. The JSP 
> loads, executes and provides a response just fine, but the call to
> HttpServletRequest.getParameterNames() always returns an 
> empty Enumeration, even when there are parameters on the URL. 
> 
> So, for example, if the following URL is given:
> http://localhost/examples/jsp/test.jsp?first=1&second=2
> 
> ...I would expect getParameterNames() to return an 
> Enumeration containing two strings: "first" and "second"
> 
> But no such luck. 
> 
> My hunch is that there is something wrong in the 
> configuration, probably in the server.xml file, but so far I 
> haven't been able to figure out what the problem might be.
> 
> Thanks in advance for your help.
> 
> 
> 		
> ____________________________________________________
> Start your day with Yahoo! - make it your home page 
> http://www.yahoo.com/r/hs 
>  
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message