Hey!
There is more than one way to do it.
I do it this way. In WebSphere Admin Applet, I add
drive:\sqllib\java\db2java.zip to the WebSphere classpath.
This way, when you upgrade DB2 UDB you don't have
to remember to copy the new db2java.zip file anywhere.
Or you can rename db2java.zip to db2java.jar and put it
in the lib directory of WebSphere.
If you are not using WebSphere, consult your documentation
about setting your container's classpath. It's done differently
on almost every servlet container.
I don't recommend putting it into the system classpath.
Anyone can monkey around with it.
Sans adieu,
Danny Rubis
Flaviano Prosper wrote:
> Hi all,
> thanks to aswers to my old question.
> Now I habe this problem I have to access a DB2-UDB from a servlet I have
> a db2java.zip in my path but it doesn't works. ("No suitable driver" is
> the error report)
> Where (i'm searching for a URL) could I find these drivers?
> Thanks
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html