• Post Reply Bookmark Topic Watch Topic
  • New Topic

Connect jsp & mySQL Remotely  RSS feed

 
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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!