Just aritfacts of step by step changes (as I come to understand
various thingies): should be type "button", but gives no evidence of
two events.
On Apr 19, 2010, at 5:19 PM, André Warnier wrote:
Ken Bowen wrote:
...
Long form. Here's the html for file upload (vanilla):
<form name="csvUploadForm" action="csvfileupload" method="post"
enctype="multipart/form-data">
File:<input type="file" name="csvfile2upload"><br></br>
<input type="submit" name="Submit" value="Upload CSV File"
onclick="uploadCSVFile();return false;">
</form>
Without and before getting to the Java stuff, I do not really
understand why above you have a button of type "submit", but with an
"onClick" event triggering a javascript function.
Either the button should be of type "button" and have an onClick
event handler, or it should be of type "submit" and not have an
event handler.
I suspect that by specifying both, you may be generating 2 actions
and confusing the browser and/or the receiving end.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org