Almost all answers I read say either my databse name or pw is wrong but I am 100% sure it isnt.Here is a http error description : javax.servlet.ServletException: javax.servlet.jsp.JspException: Unable to get connection, DataSource invalid: "java.sql.SQLException: Access denied for user 'root'@'localhost' (using password: YES)"
If anyone can help me, I would be really greatful.Still a begginer at programming, dont go hard on me. :)
Here is a line of code i used at my other projects and it worked fine for me:
<sql:setDataSource var = "snapshot" driver = "com.mysql.jdbc.Driver" url = "jdbc:mysql://127.0.0.1/project" user = "root" password = "######"/>