Hey!

First please shut off your HTML when you post to this E-list.  Just use
text.

For your servlet:
1)  Override the doGet() and send back a form to the Browser that
contains input fields "input like name, address, etc. ".
2)  Then when the user clicks on submit the values are sent back to the
servlet.
3)  Override the doPost() to insert the values into the database.

This is generally how it can be done.  For more information and code
snippets search the Archive of this E-list.

Danny Rubis (guru, not.  just learning like you)

Hartono Sutirman wrote:

>  Hi gurus... I'm just learning about Java and Servlet.I have
> successfully created a servlet that retrieves data from the oracle
> database and show it in the browser.My question is :for example we
> have form (HTML)  that requires input like name, address, etc. how can
> I accept the data using the servlet and save it to the database
> ? thanks for your help.... regardsHartono Sutirman

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to