Hi, I am working with Tomcat with Netscape ES 3.6 on Solaris hitting a Sybase database. I have been asked to put all my 'connecting methods' (i.e. those with sensitive information like password etc.) in separate classes. I am trying the following code to 'return' the connection but it does not seem to be working. I get this error: java.sql.SQLException: No suitable driver Now the same code, put in one class instead of two, works just fine. What is going on? I am attaching both codes below.
And this is the class that invokes the above class: