Jsp

Reply

Join Date: Feb 2007
Posts: 1
Reputation: azad49 is an unknown quantity at this point 
Solved Threads: 0
azad49 azad49 is offline Offline
Newbie Poster

Jsp

 
0
  #1
Feb 8th, 2007
Hi
Can anyone show me how can I connect to Oracle 10g using JSP login page?
Thanks
Reply With Quote Quick reply to this message  
Join Date: Nov 2004
Posts: 6,143
Reputation: jwenting is just really nice jwenting is just really nice jwenting is just really nice jwenting is just really nice 
Solved Threads: 213
Team Colleague
jwenting's Avatar
jwenting jwenting is offline Offline
duckman

Re: Jsp

 
0
  #2
Feb 10th, 2007
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.).
As people are clearly allowed to attack me but I'm not allowed to defend myself, I no longer post to this site.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC