RE: Tomcat 3.3.2: Not able to retrieve parameters

2005-08-23 Thread Larry Isaacs
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:[EMAIL PROTECTED] 
> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Tomcat 3.3.2: Not able to retrieve parameters

2005-08-22 Thread Code Rebel
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]