Can anyone help me with my first Java need?

I want to be able to replace the action value of "email" with a function
to append the values in a form to a file.

Then I would be able to FTP the file to my server and autoload into my database.

Thanks Ken