This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes JDBC and the fly likes connect jsp page to ms-access databse Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "connect jsp page to ms-access databse" Watch "connect jsp page to ms-access databse" New topic
Author

connect jsp page to ms-access databse

shivdhwaj pandey
Ranch Hand

Joined: Nov 12, 2011
Posts: 63

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.


with regards,
Shivdhway Pandey
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61064
    
  66

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.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
wood burning stoves
 
subject: connect jsp page to ms-access databse