ok, let me see if I can help a little. I don't do any JSP programming so I can't help you there, but I do ASP. So, here is how I would do it.
Since you probably don't know what a global.asa is, we will just create a simple connection and then I will explain how to get your info into the database.
in the page where you have created the form. Make the action of the form = "". Doing this makes it so that if you submit the form, it sends the form info to the same page.
in the header of the page put this code
''// Create a connection string to your database
Connectstring = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & server.mappath("yourAccessDatabase.mdb")
''// If the form has been submitted then grabe the data and save it
if Request.ServerVariables("REQUEST_METHOD") = "POST" then
''// Create a connection to your database
set cn = server.createobject("ADODB.Connection")
''// Grab values from the form
Username = Request.Form("Username")
Password = Request.Form("Password")
''// Create sql statement to insert a record into the database
''// Replace caps with your correct info
''// insert into YOURTABLE (THE COLUMNS YOU ARE INSERTING) values (THE VALUES YOU WANT TO INSERT)
sql = "INSERT into tblYourTable (Username, Password) VALUES ('" & Username & "', '" & Password & "')"
set cn = nothing
This is very basic. It is tough to do online like this. Feel free to contact my via email if you want to learn a little more about asp. firstname.lastname@example.org