• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

Connect jsp & mySQL Remotely

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Oh. Hi guys! Look at this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic