RE: Form method always a get.

2004-05-06 Thread Yansheng Lin
Subject: RE: Form method always a get. Did that already with the same result. I do use netbeans... I don't know if that makes a difference. A. --- Budi Kurniawan [EMAIL PROTECTED] wrote: Try adding a Submit button to click to submit. If the method is post by submitting this way then there's

RE: Form method always a get.

2004-05-06 Thread Ralph Einfeldt
- From: Yansheng Lin [mailto:[EMAIL PROTECTED] Sent: Thursday, May 06, 2004 5:52 PM To: 'Tomcat Users List' Subject: RE: Form method always a get. As per previous post, use a submit button. You are using links, that's why your servlet thinks it's a GET. Is button out of question for you

RE: Form method always a get.

2004-05-06 Thread Ralph Einfeldt
What is your environment ? (os, tomcat, apache/iis, jdk) Find out if the request that reaches your server is a POST: - Look for the request in the access log. - use an ethernet sniffer to see what is coming. after this test you know if you have to look at the server or the client side.

RE: Form method always a get.

2004-05-06 Thread Yansheng Lin
Message- From: Yansheng Lin [mailto:[EMAIL PROTECTED] Sent: Thursday, May 06, 2004 5:52 PM To: 'Tomcat Users List' Subject: RE: Form method always a get. As per previous post, use a submit button. You are using links, that's why your servlet thinks it's a GET. Is button out of question

Re: Form method always a get.

2004-05-06 Thread Wade Chandler
: RE: Form method always a get. ??? He says that the error was the same when using submit buttons and you say he should use it. AFAIK your explanation is wrong. If you submit a form with javascript (even if triggered by a link) it uses (should use ?) the method type that is given in the form

RE: Form method always a get.

2004-05-04 Thread Budi Kurniawan
You're probably missing the closing quote after the method name: form method=post Rgds, Budi Author of How Tomcat Works -Original Message- From: Adam Gruszynski [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 05, 2004 12:52 PM To: Tomcat Users List Subject: Form method always a get.

RE: Form method always a get.

2004-05-04 Thread Adam Gruszynski
Thanks for answering. The following is what I'm trying to execute: body link rel=stylesheet href=include/styles.css type=text/css script language=JavaScript function preSubmit(thePage) { document.welcomeform.actionelement.value=thePage; document.welcomeform.submit(); } /script script

RE: Form method always a get.

2004-05-04 Thread Budi Kurniawan
PM To: Tomcat Users List Subject: RE: Form method always a get. Thanks for answering. The following is what I'm trying to execute: body link rel=stylesheet href=include/styles.css type=text/css script language=JavaScript function preSubmit(thePage) { document.welcomeform.actionelement.value

RE: Form method always a get.

2004-05-04 Thread Adam Gruszynski
. Good luck. budi Author of How Tomcat Works -Original Message- From: Adam Gruszynski [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 05, 2004 1:03 PM To: Tomcat Users List Subject: RE: Form method always a get. Thanks for answering. The following is what I'm trying to execute

RE: Form method always a get.

2004-05-04 Thread Budi Kurniawan
Then, it could be your servlet/JSP page. Budi Kurniawan Author of How Tomcat Works -Original Message- From: Adam Gruszynski [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 05, 2004 1:13 PM To: Tomcat Users List Subject: RE: Form method always a get. Did that already with the same