Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

sending data from a jsp to mysql  RSS feed

 
hem kumar
Ranch Hand
Posts: 97
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all, i want to fetch data from a html page like "username and password" in a jsp page and then send those data to mysql from that jsp page. Please tell me the steps to do this. Thank you...
[ October 28, 2007: Message edited by: Bear Bibeault ]
 
Vassili Vladimir
Ranch Hand
Posts: 1585
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Take a look at the JDBC API ...
 
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Posts: 4968
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's alot of stuff to ask.

I'd suggest you start by installing a development enviornment like EclipseJ2EE and then a database, like MySQL.

After that, just try to create HTML and JPS pages that take data from a form.

Then, write some code that interacts with a database doing reads and updates.

Then try and pull the JSP pages together with the code that updates the database.

Just do it one step at a time.

-Cameron McKenzie
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!