I hava a java class for connecting to DB2 9:

conn = DriverManager.getConnection("jdbc:db2:POI",usernam e,password);

I wirte a main() for this to validate the connection and it's ok. But when a jsp invoke it to connect to DB2 9, there is an error report:

Failure in loading T2 native library db2jcct2, reason: java.lang.UnsatisfiedLinkError: no db2jcct2 in java.library.path

But I have imported the JDBC files to the WEB-INF\lib.
Why? I use Sun Java System Appliction Server 9.

Also, when I code a web service in netbeans which connect to DB2 9, it seems importing the jdbc files isn't working.