Re: [OT] a Collection of beans to store sql data

2007-01-10 Thread Michael Ni
-0500 -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael, Michael Ni wrote: > My problem is i get > > PersonNew.java:48: missing return statement > } [snip] > public Collection getPersondata( String alias, String password ) { > >Connection conn = null; >Pre

Re: [OT] a Collection of beans to store sql data

2007-01-10 Thread Michael Ni
a Collection of beans to store sql data Date: Wed, 10 Jan 2007 21:15:50 -0500 -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael, Michael Ni wrote: > My problem is i get > > PersonNew.java:48: missing return statement > } [snip] > public Collection getPersondata

a Collection of beans to store sql data

2007-01-10 Thread Michael Ni
I was wondering if anyone could help with this. As recommended by forum members, I am using a Collection of beans to store the data from sql query. My problem is i get PersonNew.java:48: missing return statement } ^ I found some information on the subject on http://forum.java.sun.com/threa

Re: web application - student need help

2007-01-08 Thread Michael Ni
stmt.close(); stmt = null; conn.close(); } catch( SQLException sqlEx ) { System.out.println( "Problem occurs while closing " + sqlEx ); } conn = null; } } } } -Caroline --- Michael Ni

RE: web application - student need help Thank You's

2007-01-08 Thread Michael Ni
I just want to thank everyone who provided input to my question. I am going to try to set up the connection pool. By the way. I have another question about authentication to websites. For authentication, currently I bascially have a "Person" table, where one field is your permission. exampl

Re: web application - student need help

2007-01-05 Thread Michael Ni
tudent need help Date: Fri, 05 Jan 2007 17:10:13 -0500 -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael, Michael Ni wrote: > i don't get any error when there isn't that much traffic > > but i dont close my jdbc connections, could that be a problem? Oh, yeah. Failing

Re: web application - student need help

2007-01-05 Thread Michael Ni
rom the pool for each data search method invocation. I am at work now. I do not have the configuration with me. I can post the configuration and the database access code when I get home. Meanwhile, do a search on the internet. --- Michael Ni <[EMAIL PROTECTED]> wrote: > i don't

Re: web application - student need help

2007-01-05 Thread Michael Ni
uot;); while ( rs.next() ) { out.println("" + rs.getString("hnm") + " "); out.println("" + rs.getString("itemname_en") + " "); } %> From: Darek Czarkowski <[EMAIL PROTECTED]> Reply-To: "Tomcat Users List" To:

web application - student need help

2007-01-05 Thread Michael Ni
Hi i'm doing a web application to help manage players for the online game Final Fantasy XI. Im using tomcat, sqlserver2000, and jsp. both sqlserver and tomcat are set up on the same computer. computer is pentium 2.8 GHZ with 512 RAM. im on cable internet the web application uses simple queries