Struts - sometime the form is being submitted twice

2003-11-13 Thread Judy Spengeman
Using the following code fragment: function f_ValidateForm(later) { var newline = unescape(%0A); var leading_space = ; var ni = newline + leading_space; } // end with if (later == 1) { document.formq1.BUTTONPRESSED.value = FinishLater; document.formq1.submit(); } else if (later

Re: Struts - sometime the form is being submitted twice

2003-11-13 Thread Vic Cekvenich
Read up on Tokens in the Action class. It explains how to eliminate this ( that would have also happened even in a regular non struts servlet/jsp). hth, .V Judy Spengeman wrote: Using the following code fragment: function f_ValidateForm(later) { var newline = unescape(%0A); var leading_space =