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:54:00 GMT
Mihamina Rakotomandimby (R12y) wrote:
> 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

I mean, it finds the localhost database I dont want it to find...


-- 
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