Re: problem with doPost method - executed twice

2006-07-01 Thread Pid
'course, if you're not getting any mail from the list, you won't see these answers... if you look up the list on the web you might read this and see my "check your spam filter" hint. p Michael Jouravlev wrote: > If you submit the form from form.onsubmit, return false to tell > browser that the fo

Re: problem with doPost method - executed twice

2006-06-30 Thread Michael Jouravlev
If you submit the form from form.onsubmit, return false to tell browser that the form has already been submitted. This is Javascript, not a Tomcat issue. On 6/30/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Hi all, I have not received any reply regarding the issue bellow. Please, any help i

Re: problem with doPost method - executed twice

2006-06-30 Thread Michael Jouravlev
Did the answer that posted four hours ago in your other thread with the same title not work for you? On 6/30/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Dear all, I have developed a web application that is running under tomcat 5.5.17 that is under windows XP. I have a servlet that retriev

Re: problem with doPost method - executed twice

2006-06-30 Thread Martin Gainty
Need to see the invoking JSP .. (in the case you might have something like..) and then later on the submit or onClick onSubmit="goToThisServlet" Martin -- * This email message and any files transmitted with it contain confide

Re: problem with doPost method - executed twice

2006-06-30 Thread Jon Wingfield
You need to look at your access logs. You'll probably see two requests. Your form submit button calls javascript which also calls form.submit(). I think, if you don't return false from the javascript you will get two form submissions. Try removing the form.submit() from the javascript. HTH, J