RE: request.getParameter( x ) returns null - OFFTOPIC

2003-06-12 Thread Reynir Hübner
Well as you can see, most of the parameters being sent are null : 

 
Attendance=Attend+SAP+Event+1Name=test+new+formFirstname=Phone=Email=Company=Functio=sButton=Tell+Us+Now

If you would do request.getParameter(Name) you should receive the value 
test+new+form, but the rest is empty.

Don't know why, but it's submitting some parameters allright, but others it's not 
submitting. 


-reynir



 -Original Message-
 From: Frankie Bollaert [mailto:[EMAIL PROTECTED] 
 Sent: 12. júní 2003 12:15
 To: Tomcat Users List
 Subject: Re: request.getParameter( x ) returns null
 
 
 Reynir Hübner wrote:
 
 Hi,
 
 I don't think I've ever seen this problem with IE5.5 (but I use it a 
 lot), so my guess is that the problem has something to do 
 with a broken 
 javascript or the actual form submition. Do you use Get or 
 Post ? Try 
 cleaning out all the cache of the browser (etc.)..
 
 -reynir
 
   
 
 I have also never seen a problem like this.  It's not javascript or 
 caching. 
 The form uses POST, and it works fine on mozilla, but when I 
 use IE5.5, 
 all the parameters in the servlet are NULL.
 
 I have used a spy to see what goes over the wire.And the only 
 difference is the HTTP protocol and the locales that are send over.
 
 Thank you for any help,
 frankie
 
 this is what IE posts:
 
 POST http://www.somesite.be/registration.servlet HTTP/1.0
 Accept: application/vnd.ms-excel, application/msword, 
 application/vnd.ms-powerpoint, image/gif, image/x-xbitmap, 
 image/jpeg, 
 image/pjpeg, */*
 Referer: http://www.somesite.be/DCSAPEvents/Event1.htm
 Accept-Language: fr-be
 Content-Type: application/x-www-form-urlencoded
 Proxy-Connection: Keep-Alive
 User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 4.0)
 Host: www.somesite.be
 Content-Length: 111
 Pragma: no-cache
 Cookie: SITESERVER=ID=711ae4038dc6b7cf939fc6b172442230
 Proxy-Authorization: Basic WjI5OnN1cGVydXNlcg==
 
  
 
 Attendance=Attend+SAP+Event+1Name=test+new+formFirstname=Ph
 one=Email=Company=Functio=sButton=Tell+Us+Now
 
 
 
 And this is what mozilla posts (and works )
 
 POST http://www.somesite.be/registration.servlet HTTP/1.1
 Host: www.somesite.be
 User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.4b) 
 Gecko/20030516 Mozilla Firebird/0.6
 Accept: 
 text/xml,application/xml,application/xhtml+xml,text/html;q=0.9
 ,text/plain;q=0.8,video/x-mng,image/png,image/jpeg,image/gif;q
 =0.2,*/*;q=0.1
 Accept-Language: en-us,en;q=0.5
 Accept-Encoding: gzip,deflate,compress;q=0.9
 Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
 Keep-Alive: 300
 Proxy-Connection: keep-alive
 Referer: http://localhost:8080/Event1.htm
 Cookie: SITESERVER=ID=4e12f7d04a7c97411aed867e5325251c
 Proxy-Authorization: Basic WjI5OnN1cGVydXNlcg==
 Content-Type: application/x-www-form-urlencoded
 Content-Length: 84
 
 
 Attendance=Attend+SAP+Event+1Name=dFirstname=dPhone=dEmail
 =dCompany=dFunctio=d
 
 
 
 
 -
 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]



Re: request.getParameter( x ) returns null - OFFTOPIC

2003-06-12 Thread Frankie Bollaert
Reynir Hübner wrote:

Well as you can see, most of the parameters being sent are null : 

Attendance=Attend+SAP+Event+1Name=test+new+formFirstname=Phone=Email=Company=Functio=sButton=Tell+Us+Now

If you would do request.getParameter(Name) you should receive the value test+new+form, but the rest is empty.

Don't know why, but it's submitting some parameters allright, but others it's not submitting. 

-reynir
 

Oops, sorry,
I should have send this one;
I would expect blank, or empty values, but not null.  I will try it with 
a GET next, don't know what else to do, aside from staring tomcat in 
debug mode.

any way, thank you!

POST http://www.somesite.be/registration.servlet HTTP/1.0
Accept: application/vnd.ms-excel, application/msword, 
application/vnd.ms-powerpoint, image/gif, image/x-xbitmap, image/jpeg, 
image/pjpeg, */*
Referer: http://www.somesite.be:8084/Event1.htm
Accept-Language: nl-be
Content-Type: application/x-www-form-urlencoded
Proxy-Connection: Keep-Alive
User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 4.0)
Host: www.somesite.be
Content-Length: 84
Pragma: no-cache
Cookie: SITESERVER=ID=711ae4038dc6b7cf939fc6b172442230
Proxy-Authorization: Basic WjI5OnN1cGVydXNlcg==



Attendance=Attend+SAP+Event+1Name=dFirstname=dPhone=dEmail=dCompany=dFunctio=d



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