File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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

How do I connect to SYBASE ASE 11.9.2

Yakubu Lawan

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
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
Hope that helps...
[ November 12, 2002: Message edited by: Simon Brown ]
subject: How do I connect to SYBASE ASE 11.9.2
It's not a secret anymore!