Re: doPost/doGet confusion

2000-05-25 Thread August Linnman
Title: RE: doPost/doGet confusion



No, it can be forced to do a POST-request by using the 
setRequestMethod method. 
 
/August

  - Original Message - 
  From: 
  Patrik Andersson 
  To: Orion-Interest 
  Cc: E-volution 
  Sent: den 25 maj 2000 15:05
  Subject: RE: doPost/doGet confusion
  
  Hi! 
  Doesn't HttpUrlConnection make an HTTP GET request? Isn't that 
  what it's made for? 
  Best regards Patrik Andersson 
  
  -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
  Sent: den 25 maj 2000 13:23 To: 
  Orion-Interest Cc: E-volution Subject: doPost/doGet confusion 
  Hello! 
  We have experienced a most strange behaviour on a fresh 
  installation of Orion 1.0rc1 deploying a web application of ours. When 
  executing a "POST" request on a servlet (using a java client program using a 
  HTTPUrlConnection) the orion server seems to dispatch to the "doGet" method 
  instead of "doPost"!! 
  We have tried to swap the Orion server for a Tomcat 3.1, using 
  exactly the same client software and the same deployed WEB-archive and code, 
  and Tomcat correctly invokes the "doPost" method for the same request. 
  
  Is this a common and known bug, or do we need to dig deeper to 
  get more debug information? 
  Any information useful in solving this mystery would be 
  greatly appreciated. 
  Best Regards /August Linnman, ITEC OBI 
  AB, Stockholm. 
  == 
  August Linnman, ITEC Open Business Integrator AB. Stockholm, 
  Sweden Telephone: +4670 930 61 05 PGP key lookup: http://certserver.pgp.com:11371/pks/lookup?op=get&search=0x2BF524E7 
  == 



RE: doPost/doGet confusion

2000-05-25 Thread Patrik Andersson
Title: RE: doPost/doGet confusion





Hi!


Doesn't HttpUrlConnection make an HTTP GET request? Isn't that what it's made for?


Best regards
Patrik Andersson


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: den 25 maj 2000 13:23
To: Orion-Interest
Cc: E-volution
Subject: doPost/doGet confusion



Hello!


We have experienced a most strange behaviour on a fresh installation of Orion 1.0rc1 deploying a web application of ours. When executing a "POST" request on a servlet (using a java client program using a HTTPUrlConnection) the orion server seems to dispatch to the "doGet" method instead of "doPost"!! 

We have tried to swap the Orion server for a Tomcat 3.1, using exactly the same client software and the same deployed WEB-archive and code, and Tomcat correctly invokes the "doPost" method for the same request. 

Is this a common and known bug, or do we need to dig deeper to get more debug information? 


Any information useful in solving this mystery would be greatly appreciated. 


Best Regards
/August Linnman, ITEC OBI AB, Stockholm.



==
August Linnman, ITEC Open Business Integrator AB. Stockholm, Sweden
Telephone: +4670 930 61 05
PGP key lookup: http://certserver.pgp.com:11371/pks/lookup?op=get&search=0x2BF524E7
==





doPost/doGet confusion

2000-05-25 Thread August Linnman

Hello!

We have experienced a most strange behaviour on a fresh installation of Orion 1.0rc1 
deploying a web application of ours. When executing a "POST" request on a servlet 
(using a java client program using a HTTPUrlConnection) the orion server seems to 
dispatch to the "doGet" method instead of "doPost"!! 
We have tried to swap the Orion server for a Tomcat 3.1, using exactly the same client 
software and the same deployed WEB-archive and code, and Tomcat correctly invokes the 
"doPost" method for the same request. 

Is this a common and known bug, or do we need to dig deeper to get more debug 
information? 

Any information useful in solving this mystery would be greatly appreciated. 

Best Regards
/August Linnman, ITEC OBI AB, Stockholm.


==
August Linnman, ITEC Open Business Integrator AB. Stockholm, Sweden
Telephone: +4670 930 61 05
PGP key lookup: http://certserver.pgp.com:11371/pks/lookup?op=get&search=0x2BF524E7
==



BEGIN:VCARD
VERSION:2.1
N:Linnman;August
FN:August Linnman
ORG:ITEC Open Business Integrator AB;Software development
TITLE:System Engineer
NOTE;ENCODING=QUOTED-PRINTABLE:PGP key lookup: http://certserver.pgp.com:11371/pks/lookup?op=3Dget&search=
=3D0x2BF524E7=0D=0A
TEL;WORK;VOICE:+468-343431
TEL;WORK;VOICE:+4670-4928641
TEL;HOME;VOICE:+468-308917
TEL;CELL;VOICE:+4670-9306105
TEL;WORK;FAX:+468-343438
TEL;HOME;FAX:+468-314954
ADR;WORK:;;Ynglingagatan 17;Stockholm;Stockholm;11347;Stockholm
LABEL;WORK;ENCODING=QUOTED-PRINTABLE:Ynglingagatan 17=0D=0AStockholm, Stockholm 11347=0D=0AStockholm
ADR;HOME:;;Torbjörn Klockares g 13;Stockholm;Stockholm;113 30;Sweden
LABEL;HOME;ENCODING=QUOTED-PRINTABLE:Torbj=F6rn Klockares g 13=0D=0AStockholm, Stockholm 113 30=0D=0ASweden
X-WAB-GENDER:2
URL:http://www.itec.se/august.htm
URL:http://www.itec.se
EMAIL;PREF;INTERNET:[EMAIL PROTECTED]
REV:2525T112300Z
END:VCARD