Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Connect jsp & mySQL Remotely

 
Deep India
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am running a jsp page on this URL:
http://www.xyz.com/register.jsp
There is no database support available in www.xyz.com website.
I want my form data to be posted on another site:
http://www.abc.com/ and show the updated status (updated message) from the www.abc.com website.
In the www.abc.com 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.
 
I am mighty! And this is a mighty small ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!