• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to change data from a web form into database

 
campos teixeira
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to change the username and password into a database using only JSP from a login change page??

I have the code all done but confused of how to get the input from the user in the web page and pass into the database??


database string:


getting string from user:


So How cajn I get from the request and replace of what the user input into the right columns in the table.

Thanks
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65335
97
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Submit the form to a servlet which will use JDBC to store the info as desired.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic