int i=0;
int j=0;
//String PartnerID = partnerid;
Object Values[][] = new Object[1][16];//its size is 15 earlier
String textbox;
String thpHost ="10.8.54.64 ";
String thpPort ="10009"; // FOR RIC_DEV Use This Port "10009";
Properties properties = new Properties();
properties.setP roperty("ThpHos t", IP);
properties.setP roperty("ThpPor t", port);
TreConnection conn = new TreConnection(p roperties);
conn.treConnect (user,password, "");
String temp;
PrintWriter out;
try{
out = res.getWriter() ;
}catch(Exceptio n exc){
return;
}
//System.out.prin tln("Service Type : " + ServiceType + " in DAInsert.java") ;
for (i=0;i<=0;i++) { //We are having only one row at any given time
//Index inceramented to handle additional field intermediate results
for (j=0;j<=12;j++) {
textbox= "x"+i+"y"+j ;
if (j==11){
temp = (String)request .getParameter(t extbox);
ServiceDARecord .put(ServiceDAR ecordKeys[j],
new String( temp + " 00:00:00" ));
}
else if (j==12){
temp = (String)request .getParameter(t extbox);
counter = i + 1;
out.println("Ro w Inserted.\n" );
result = (ArrayList)reto bj;
//Putting result in session to be extracted later
//session.setAttr ibute("val", result);
Comment