Win a copy of Android Programming: The Big Nerd Ranch Guide this week in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

connect jsp page to ms-access databse  RSS feed

 
shivdhwaj pandey
Ranch Hand
Posts: 67
Java PHP Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have created a database of ms-access 07 in which user name and password has been given or stored.
now i have created the browser page for log in , but the problem is that i have done connectivity in jdbc through command line argument.
i M NOW NOT BEING ABLE TO CONNECT TO DATABASE THROUGH JSP PAGE AND TRY TO VALIDATE THE LOGIN AUTHENTICATION .
PLEASE HELP ME OUT.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65971
140
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JSPs shouldn't be connecting to the database. Move and DB access code to Java classes and post that code, Use Code tags when you do.

Meantime, this topic has been moved to the JDBC forum as it is not a JSP issue.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!