Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

MSAccess Database  RSS feed

 
Nico Yukiko
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using a Database that do not require a user id and password but JSP require us to put those things then wat should i put??
In servlet i use
Connection con=DriverManager.getConnection("jdbc dbc:mydsn")
and this work.

Connection con=DriverManager.getConnection("jdbc dbc:mydsn", "jp", "jp");
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66205
151
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Exactly how is JSP "requiring" this information?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!