hi there;
i am doing a "JAVA APPLICATION" to retrieve mandatory data from oracle database. (ie, from table - customer, fields - name, age, addr....)
i would like to pass these data to the "SERVLET" in order to do other processing.
i am doing this in my java application, but doesnt work?
private void getURL() throws Exception {
URL url;
URLConnection urlCon;
try {
url = new URL("
//urlCon = url.openConnection();
System.out.println("url = " + url.toString());
System.out.println("url ok."
;
}
catch(MalformedURLException mue){
System.out.println("RepDailyTxn-getURL : " + mue);
}
}
may i know how to do that? any method i can refer to? thanks in advance.
i am doing a "JAVA APPLICATION" to retrieve mandatory data from oracle database. (ie, from table - customer, fields - name, age, addr....)
i would like to pass these data to the "SERVLET" in order to do other processing.
i am doing this in my java application, but doesnt work?
private void getURL() throws Exception {
URL url;
URLConnection urlCon;
try {
url = new URL("
//urlCon = url.openConnection();
System.out.println("url = " + url.toString());
System.out.println("url ok."
}
catch(MalformedURLException mue){
System.out.println("RepDailyTxn-getURL : " + mue);
}
}
may i know how to do that? any method i can refer to? thanks in advance.