<HTML>
<HEAD>
<TITLE>List Parameters</TITLE>
</HEAD>
<BODY>
<%
{
String strName = (String)eNames.nextElement();
%>
<%= strName %> : <%= request.getParameter(strName).toString() %><BR>
<%
}
%>
<BR>Parameters are above.
</BODY>
</HTML>
-----Original Message-----
From: Voegele, Jason [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 10, 2000 04:27 PM
To: [EMAIL PROTECTED]
Subject: RE: Request Parameters Getting LostThanks for the pointer. We're accessing the JSP with IE 5.5, which has an option to send URLs as UTF-8. I turned this option off, but alas the request parameters are still not there. Any further advice?Thanks,Jason Voegele-----Original Message-----
From: Keith McNeill [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 10, 2000 2:54 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: RE: Request Parameters Getting LostWe've had the same problem dealing with wireless apps & WAP gateways. Our theory is that the request params are being sent in UTF-8 not ascii and Tomcat can't deal with it. We do not have any problems when using JRun or Websphere.Keith McNeill-----Original Message-----
From: Voegele, Jason [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 10, 2000 1:14 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Request Parameters Getting LostMy apologies, we're actually using request.getParameter("page_id"), as well as the getParameterNames and getParameterValues as you've said. I just wrote the wrong method name in my original email.
Given that we are using the proper methods, is there any way to explain this behavior?
Thanks,
Jason Voegele
-----Original Message-----
From: CPC Livelink Admin [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 10, 2000 12:37 PM
To: [EMAIL PROTECTED]
Subject: RE: Request Parameters Getting Lost
Actually, the functions are getParameterNames and getParameterValues
-----Original Message-----
From: Stefan Woithe [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 10, 2000 12:25 PM
To: [EMAIL PROTECTED]
Subject: Re: Request Parameters Getting Lost
Hi Jason,
I use Tomcat 3.1final and in an JSP the implicit object "request". If you
know the name of the parameter use request.getParameter(<name>). Where is
the method "getRequestParameters()" located -- for sure not in
javax.servlet.ServletRequest?Regards
Stefan
> "Voegele, Jason" wrote:
>
> We've run across some problems using request parameters in our JSP. We
decided to create a JSP that does nothing but print out request parms and
values, just to ensure that they are being passed with the request.
>
> We invoke the JSP like so:
http://localhost:8080/dwstatus?page_id=TEST_PAGE
>
> Our JSP simply prints out the value of the page_id parameter, and
enumerates the names of all parameters sent.
>
> The value we get for the page_id parameter is always null. There are no
parameters present in the Enumeration returned by getRequestParameters().
>
> Can anyone explain what's happening to our request parameters? We're
using Tomcat standalone on Windows NT Server 4.0.
>
> Thanks,
> Jason Voegele