This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
HTTPForm.submit() does not provide a way for the client to specify which button they want to "press" to submit the form. A form can have any number of submit buttons, and they might do different things - for example one might "save values for later" while another "commits entrys to database".
Fixed by adding a method to choose the successful button, and by changing the argument encoding to only encode one SUBMIT element per form.