Deepika Namasani

Greenhorn
+ Follow
since May 19, 2005
Merit badge: grant badges
For More
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 Deepika Namasani

Thanks Bear Bibeault


"u" here meant all javaranch members.

anyways thanks.
[ September 29, 2005: Message edited by: Deepika Namasani ]
18 years ago
JSP
Hello friends

can u please explain me what does flush does here.


Thanks
18 years ago
JSP
Hello

I have doubt

Y does Container give referances of ServletConfig to name/value init parameters rather than ServletConfig object getting the refernaces from name/value init parameters .


Page number 152 in Head First SCWCD book.


Thanks
Hello folks

I tried installing TOMCAT from apache website, but it gives some error due to some compatibility issues.

I have jdk 1.4 and want to know compatible version for TOMCAT
and also steps that allows me to deploy jsp and servlets.

thanks
Hello Friends

I wrote my JAVA CERTIFIATION(SCJP) long back.... say MAY of this year, but till i didnot recieve any kit from them nor did I receieve ICON from them so that i can post in my resume.
I need to have the ICON which i want to post it ..... how can i do that..

thanks
hello


code:
--------------------------------------------------------------------------------

ArrayList(Collection c)

--------------------------------------------------------------------------------


is the constructer that takes to create ArrayList of any Collection

but i am not very clear how to use this


if i want to create an arrayList that adds a linkedlist for each of its entry how to add data into those linked lists



code:
--------------------------------------------------------------------------------

LinkedList l = new LinkedList(); ArrayList ar = new ArrayList( l); so if i want to add something into the list how should i is it this way ar.add(l.add("c"));

--------------------------------------------------------------------------------


also pls kindly let me know how to access them.

thanks
hello


is the constructer that takes to create ArrayList of any Collection

but i am not very clear how to use this


if i want to create an arrayList that adds a linkedlist for each of its entry how to add data into those linked lists



also pls kindly let me know how to access them.

thanks
18 years ago
Abdulla


I created Array of ArrayList

actual ArrayList syntax is ArrayList a = new ArrayList().


So i created an array of ArrayList
ie



i created array size of 3 each of type arrayList so at this point
ar[0],ar[1],ar[2] are just variables of type ArrayList are created but are pointing to null .
so until unless we redirect this from null to actual Arraylists they will be with null. and accessing a null object produces null pointer exception.

by assiginig
where k2 = 0,1,2

we are redirecting the variable to ArrayList object.

I hope i cleared ur doubt.

thanks
18 years ago
hi all is there any way to copy one array into another without a loop
i am sure there is one. I know both arrays of same dimesion.

but if it some thing like this

where newCentroids[] is a float array of size 3 and and CentroidValues(ArrayList ar[3]) is a method that return a float array.

my program shows an error at this point




pls help me
hi all is there any way to copy one array into another without a loop
i am sure there is one. I know both arrays of same dimesion.

but if it some thing like this

where newCentroids[] is a float array of size 3 and and CentroidValues(ArrayList ar[3]) is a method that return a float array.

my program shows an error at this point

18 years ago
Thank you very much that works fine

this is a nice way of learning

thanks to forums
Hello

can you please let me know y am i getting null pointer exception at this point

" ar[k2-1].add(new Integer(input[i]));"

from the following code.

18 years ago
Hello Srinivas

can you please let me know y am i getting null pointer exception at this point

" ar[k2-1].add(new Integer(input[i]));"

from the following code.



thanks
Deepika