Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes JForum and the fly likes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Products » JForum
Bookmark "" Watch "" New topic

Migrated From
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
i have developed website using java1.4, tomcat5 and mysql5 on windows server. its working fine, but i have hosted it in linux server its showing when i try to login i dont know how to solve this problem please help me to solve this issue. my connection program is

public class DBConnection
public static Connection conn = null;
public DBConnection()

public static Connection getConnection() throws Exception
conn = DriverManager.getConnection("jdbc:mysql://server/database?user=username&password=xxxx");


catch(Exception e)

return conn;

Please help.
[originally posted on by ravik]
I agree. Here's the link:
jQuery in Action, 3rd edition