Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to get Username and Pwd from DB

 
Rajendra Prakash
Ranch Hand
Posts: 293
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am new to web application. I want to check username and password entered by user in jsp page ,
available in database or not. Consider am using struts and hibernate. where to write code ,
in Business logic or DAOIMPL . Also just give two lines , how to get username , pwd from db
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You're "considering" using Hibernate, which means you aren't, but want Hibernate code that accesses the DB? Have you looked at the Hibernate tutorials or documentation, or written any test code to try things out?

Moving to ORM.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic