Class.forName(dbDriver).newInstance()

2002-10-22 Thread Z.BEAT
Here is a code excerpt: --- String dbDriver = org.gjt.mm.mysql.Driver; try { Class.forName(dbDriver).newInstance() } catch(ClassNotFoundException cnf) { out.println(cnf); } - When I go to compile this servlet, I have been getting

Re: Class.forName(dbDriver).newInstance()

2002-10-22 Thread Z.BEAT
the .newInstance().. E.g Class.forName(oracle.jdbc.driver.OracleDriver); Connection con = DriverManager.getConnection(URL); Z.BEAT wrote: Here is a code excerpt: --- String dbDriver = org.gjt.mm.mysql.Driver; try { Class.forName(dbDriver

where is mod_webapp.so binary?

2002-10-21 Thread Z.BEAT
I am running Apache 1.3 and Tomcat 4.1.2, on Solaris 7. Where can I download mod_webapp.so binary? I am currently running Tomcat only as a Standalone, and it would be nice if I could connect it to Apache. The expected location does not have the module:

RE: expression ALWAYS evaluates to if... NEVER to else

2002-10-18 Thread Z.BEAT
information on the equals and equalsIgnoreCase methods. Steve -Original Message- From: Z.BEAT [mailto:zackbeatty;yahoo.com] Sent: Thursday, October 17, 2002 1:58 PM To: Tomcat Users List Subject: expression ALWAYS evaluates to if... NEVER to else In the following code

expression ALWAYS evaluates to if... NEVER to else

2002-10-18 Thread Z.BEAT
In the following code snippet, the expression ALWAYS evaluates to the if statement block: String paramPassword = request.getParameter(paramPassword); String secretCode = secret; if(paramPassword != secretCode) { } else { } However, my debugging flags that I send in an HTML comment CLEARLY