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
@tomcat.apache.org
Subject: Re: [OT] 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( String
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( String alias, String password ) {
Connection conn = null;
PreparedStatement
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.
example
;
conn.close();
}
catch( SQLException sqlEx )
{
System.out.println( Problem occurs
while closing + sqlEx );
}
conn = null;
}
}
}
}
-Caroline
--- Michael Ni [EMAIL PROTECTED] wrote:
thx caroline
From: Caroline
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
=\50\ + rs.getString(itemname_en) +
/td/tr);
}
%
From: Darek Czarkowski [EMAIL PROTECTED]
Reply-To: Tomcat Users List users@tomcat.apache.org
To: Tomcat Users List users@tomcat.apache.org
Subject: Re: web application - student need help
Date: Fri, 05 Jan 2007 12:52:19 -0800
Michael Ni wrote
? Then,
get a connection object from 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
Subject: Re: web application - student 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