This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JSP and the fly likes How do I connect to SYBASE ASE 11.9.2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "How do I connect to SYBASE ASE 11.9.2" Watch "How do I connect to SYBASE ASE 11.9.2" New topic
Author

How do I connect to SYBASE ASE 11.9.2

Yakubu Lawan
Greenhorn

Joined: Jan 23, 2002
Posts: 7
Please, I need help on how to connect to Sybase ASE 11.9.2 from a JSP code. I have already tried all I can using ASP but could noy connect so I decided to try JSP. Thanks.
Simon Brown
sharp shooter, and author
Ranch Hand

Joined: May 10, 2000
Posts: 1913
    
    6
Basically, all that you need are the JDBC drivers for your database. You should have got these already, although you can probably download them from the Sybase website. Once you have these (they are likely to be inside a JAR file), you can put that JAR file in the WEB-INF/lib directory of your JSP/web application.
Take a look in the JDBC forum for some tips on how to actually perform the connection.
Alternatively, check out the JSTL (JSP Standard Tag Library) as it contains some tags that allow you to easily connect to databases. JSTL can be downloaded from http://jakarta.apache.org/builds/jakarta-taglibs/releases/standard/
Hope that helps...
Simon
[ November 12, 2002: Message edited by: Simon Brown ]
 
wood burning stoves
 
subject: How do I connect to SYBASE ASE 11.9.2
 
Similar Threads
Sybase beginner, Need Help
How to Connect Sybase to Java, (using Servlets)
WebSphere Studio JDBC Connection Problem
accesing a database
Installing free Sybase 15.0.3 ASE on CentOS Linux 5.3