#1
  1. No Profile Picture
    Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2002
    Posts
    21
    Rep Power
    0

    Question update table onclick event


    Hi

    Is it possible to run an update statement in sql when I click my submit button? (i'm using jsp)
  2. #2
  3. No Profile Picture
    Moderator =(8^(|)
    Devshed Intermediate (1500 - 1999 posts)

    Join Date
    Feb 2002
    Location
    Sacramento, CA
    Posts
    1,710
    Rep Power
    14
    yes
  4. #3
  5. No Profile Picture
    Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2002
    Posts
    21
    Rep Power
    0
    do you have an example?
  6. #4
  7. No Profile Picture
    Moderator =(8^(|)
    Devshed Intermediate (1500 - 1999 posts)

    Join Date
    Feb 2002
    Location
    Sacramento, CA
    Posts
    1,710
    Rep Power
    14
    Go read through the jdbc tutorials sun provides. http://java.sun.com/docs/books/tutor...ics/index.html
    Then go read this little tut on processing form input with jsps.
    http://www.devshed.com/Server_Side/J...SP4/page1.html
    Combine ingredients in large bowl, stir, server immediately
    If you need any more help, just ask

IMN logo majestic logo threadwatch logo seochat tools logo