Where can I find information to learn about the proper "Get" and "post"
methods?



CONFIDENTIALITY NOTICE: This e-mail may contain confidential information
that is legally privileged. Do not read this e-mail if you are not the
intended recipient.
This e-mail transmission, and any documents, files or previous e-mail
messages attached to it may contain confidential information that is legally
privileged. If you are not the intended recipient, or a person responsible
for delivering it to the intended recipient, you are hereby notified that
any disclosure, copying, distribution or use of any of the information
contained in or attached to this transmission is STRICTLY PROHIBITED. If you
have received this transmission in error, please immediately notify us by
reply e-mail or by telephone at (415) 403-7300, and destroy the original
transmission and its attachments without reading or saving in any manner.
Thank you.






-----Original Message-----
From: Swart, James (Jim) ** CTR ** [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 05, 2001 9:35 AM
To: '[EMAIL PROTECTED]'
Subject: RE: About GET and POST methods


*ducks to avoid the swinging claws*

Thanks for the info!

-----Original Message-----
From: Jose Euclides da Silva Junior - DIGR.O
[mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 05, 2001 9:04 AM
To: [EMAIL PROTECTED]
Subject: RES: About GET and POST methods


-----BEGIN PGP SIGNED MESSAGE-----

No, i guess you are wrong! You can use either get(doGet) or post(doPost)
method ! The only difference between them is the following: Get command
sends data through  get' header and Post sends data through new http
headers. This is a HTTP RFC.
The problem below seems to be very strange. 

Jos� Euclides J�nior
__________________________________
E-mail: [EMAIL PROTECTED]
            [EMAIL PROTECTED] 
http://euclides.8m.com



- -----Mensagem original-----
De:             Swart, James (Jim) ** CTR ** [SMTP:[EMAIL PROTECTED]]
Enviada em:             Ter�a-feira, 5 de Junho de 2001 11:51
Para:           '[EMAIL PROTECTED]'
Assunto:                RE: About GET and POST methods

as far as I know, if you are going to send information to a servlet from a
input form (html or jsp) you have to use a GET when invoking the servlet? At
least, that's how mine are developed.

- -----Original Message-----
From: Rainer Schweigkoffer [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 05, 2001 7:07 AM
To: [EMAIL PROTECTED]
Subject: About GET and POST methods


Hi folks !

Being a newbie concerning the use of Tomcat I am marvelling about the
following :

On SunOS 5.8 I have installed Tomcat 3.2.1 connected to Apache 1.3.19
via mod_jk.so with both an AJP12 (port 8007) and an AJP13 (port 8009)
handler installed. 

The Apache Server is listening on ports 80, 1080, 2080 and 8080, while,
for test purposes, I added a Tomcat Http Connection handler on
port 7080.

Now, we have written a test servlet with differing doGet and doPost
methods and an HTML page containing a form that uses method POST, and
we observe the following behaviour :

o When defining the form's action to directly invoke the servlet via
  Tomcat on port 7080, method doPost is invoked, 

o however, when defining action to invoke the servlet via Apache
  on one of the other ports mentioned above, always method doGet
  is invoked.

Is there any explanation for that - at least to me - surprising
behaviour ? Did I overlook anything ? Or is it intended to work
that way ?

Thank you very much for your kind assistance
Rainer

- ------
All statements above reflect my personal opinion only.  Speaking for my
company is highly above my salary.
-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.1

iQCVAwUBOx0fNd0YhuJ3BUxtAQHEngP7B9RPn8VyEnrLlFWbGslZCXJVt4BYCig0
2jsA64OGZwoAyLVjvQ0Vys/jUjtt72IUwxRpMLifITP6mIOAMSNhq2tD/5ZrpYOb
mWskDp5EU9DBoFm2rRMna8s5JQtn2z/gQ24CYl7V6SysuUMCl59FJO8s5qE9HznI
T1vUGWZy6Kc=
=Wxt7
-----END PGP SIGNATURE-----

Reply via email to