tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mihamina Rakotomandimby (R12y)" <miham...@lab.vectoris.fr>
Subject Re: tomcat only query localhost database
Date Tue, 03 Feb 2009 14:42:21 GMT
Mihamina Rakotomandimby (R12y) wrote:
>> DriverManager.getConnection("jdbc:mysql://localhost/baseName",
>>                                             "login",
>>                                             "password");
> There, I see some hardcoded localhost.
> Might it be the nasty evil code?

Nope, it's in a catch bloc, the app finds the database and there's no
(localhost,baseName,login,password) on the area.



-- 
Chef de projet chez Vectoris
http://www.google.com/search?q=mihamina+rakotomandimby

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message