944,092 Members | Top Members by Rank

Ad:
  • JSP Discussion Thread
  • Unsolved
  • Views: 1225
  • JSP RSS
Feb 8th, 2007
0

Jsp

Expand Post »
Hi
Can anyone show me how can I connect to Oracle 10g using JSP login page?
Thanks
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
azad49 is offline Offline
1 posts
since Feb 2007
Feb 10th, 2007
0

Re: Jsp

You don't.
Use a proper architecture and let a servlet handle the actual login (or better yet, have a servlet let some business logic component like an EJB handle it) and just forward the results to the JSP.

It becomes a simple matter of some JDBC code (best hidden behind a layer like Hibernate, iBatis, or Spring JDBC), for which there are many tutorials available.
The JDBC driver documentation will tell you the specific data to input into the system to get a connection to your database (driver class, URI format, etc. etc.).
Team Colleague
Reputation Points: 1658
Solved Threads: 331
duckman
jwenting is offline Offline
7,719 posts
since Nov 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in JSP Forum Timeline: How Get Date of "First Day of Current Week" in JSP
Next Thread in JSP Forum Timeline: jsp with IIS





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC