Win a copy of Terraform in Action this week in the Cloud forum!

Sridhar Ranganthan

Ranch Hand
+ Follow
since Mar 12, 2009
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Sridhar Ranganthan

HI,

I have installed Eclipse Juno Service Release 1 and apache-tomcat-6.0.35,JDK 7

when i start the server in eclipse status shows as started but when i hit the localhost:8081 getting HTTP Status 404 page.

please help me , what are all the changes i have to do for running any web application

Thanks,
Sri
6 years ago
HI Team,

Iam new to SFTP Program.

Can you please guide me how to read a file from SFTP using java.


Thanks,
Sridhar.R
7 years ago
HI,

Iam new to SFTP. Can you please help me to read the files from SFTP server using core java.


Thanks,
Sridhar
7 years ago
HI ,

I would like to new about java nio package,I'm completely new to this package.
Please help me to know better about this package/give any tutorial url.

Thanks,
Sridhar.R
7 years ago
Hi,

1) Without entering the username and password and you are trying to access the next page
so what will happen? How the server will know the particular users login.

2) My arraylist only will allow class A,B,C how to acheive it generics ?

3) Set doesnot allow duplicates if i enter the code




now size is 2,so why it's allowing the duplicates? whether we need to implement comparator interface to solve this issue?

these are all my interview questions. please help me to know more about better.

Thanks,
Sridhar.R
8 years ago
Hi,

Iam using Kony5.0 for developing mobile app.so we are using javascript and webservice.

requirement is iterate the xml structure from webservice call using javascript.

I need to iterate the value from the for loop and putting in to array.


inside the header element , data1,data2,data3 sub element will come dynamically..means some time will come data5,some time 20 also.


I want header1 and data1,data2,data3....datan value putting into ar[0]....and similarly headern and data1,,datan

how to achive this/how the fetch the webservice data in javascript. please help me.





pleasae refer the below xml file structure.

ex

for(var hcnt=0;hcnt<xmlhcnt;hcnt++)
{

}



xml structure



Thanks,






Iam going to create dynamic button,so inside "widgetDataMap" i have to put "button1": "button1","button2":"button2"...."buttonn":"buttonn"

if dynamic button count is 5 i have to create "button1":"button1"....."button5":"button5" and assign into




Help me the same.

Regards,
Sridhar.R
HI,

Thank you for your reply,

can you explain more that will helpful for me.

Thanks,
Sri.R
HI,

global variable value is not assiging during asynchronous call.


consider the below ex




Thanks,
sri.R
HI,

I would like to know how to exeucte the .sql file using java script.

can somebody share the code for me?

Thanks
hi all,

iam creating dynamic button using javascript via kony.

function dynaButton()
{

var layoutprop={ widgetdatamap {"btn1" : "btn1", "btn2" : "btn2"}};


}
i would like to create n no of buttons,so in that case "btn1" : "btn1", "btn2" : "btn2","btn3" : "btn3", "btn4" : "btn4"..."btnn" : "btnn"


i have tried in this approach

var myId;
function getId()
{

for(var i=1;i<n;i++)
{
myId=myId+"btn"+i+":btn"+i;
if(i<n)
{
myId=myId+",";
}
return myId;
}

and then i have placed like this

var getBtnId=getId();

var layoutprop={ widgetdatamap {getBtnId}};

but it return error, i guess ,it cause of : operator .

can you please how to sort out this problem.

i want to place "btn1" : "btn1" , "btn2" : "btn2" in { widgetdatamap { } }


Thanks,
Sridhar.R
can any one please help me to resolve this program.

Thanks
11 years ago
Hi, please find the below program iam getting the exception


Basically iam try to the format the string[] , this string[] should be different date pattern.



Iam getting the following exception :-

Exception in thread "main" java.lang.IllegalArgumentException
at java.util.Date.parse(Unknown Source)
at java.util.Date.<init>(Unknown Source)
If i use try catch block iam getting the compilation error

StringToDate.java:17: exception java.text.ParseException is never thrown in body
of corresponding try statement
}catch(ParseException pe)

Thanks,
Sridhar.R

11 years ago
If this is not possible means, please help me
how to format the date with specified fomat

having a string array



I need to format the string[] value with specified format, i tried with SimpleDateFormat also , its not coming properly
please any one help me program.

Thanks,
Sridhar.R

11 years ago
Hi,

This is not really help me....

Thanks,
Sri.R
11 years ago