Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Connect jsp & mySQL Remotely  RSS feed

Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am running a jsp page on this URL:
There is no database support available in website.
I want my form data to be posted on another site: and show the updated status (updated message) from the website.
In the site I have support for both JSP and mySQL.
Can I follow this type of scenario? If this is possible then what will be the jsp connectivity script for the following:
String username = "abc_mysql_database_username";
String password = "abc_mysql_database_password";
String url= "jdbc:mysql://localhost:3356/events";
In place of localhost what to give. In the above string url, "events" is the name of the database.
Pl. help me out.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!