Hi All, I am getting out of memory when i try to add elements in arrayList and here is what i do I have a to identify eligble scores between a range of values and all the eligible scores should be stored in database so i am trying to run a 'for loop' from the start range till the end range ...
Thanks for the reply I have tried that but no joy yet It might be due to a symbol error on the import I dont think the servlet can access or see the CartItem class, would you know why this is? Even though it has been imported correctly, should i be doing a servlet mapping? It is now throwing up errors ...
im creating a file storing system i have an abstract class called vehicle then i have 2 more abstract classes called bike and car which extends to vehicle. then i have another 2 normal classes expensive and cheap which extends to car what im trying to do is input car details into this system, so i can add, print out all ...
Hi How do I print elements of an ArrayList of an ArrayList, I think it has to be something similar to a 2 D array, but with a difference, my child arraylist has different number of elements say I have 3 child lists and they have 2, 5, 4 elements when I add them to the parent arrayList, but the number ...
} This is the method I am trying to create: public void showBooks (String first, String last) { for(Book book : list) { if(book.getAuthor() == first + " " + last) { book.display(); } } } I can't figure out why showBooks isn't working. It's not displaying anything even after executing these statements: b1.addAuthor ("Ian","Fleming"); myBooks.showBooks("Ian","Fleming"); Any suggestions?
Hi everybody, I have a problem using xsl trasformation and an object that contains nested arraylistes. the object is structured in this way Request |---id |---event |---ListOfComponent |------*component* |---------idComponent |---------description |---------*properties* |-------------name |-------------value I'm able to get the values of id and event in this way: Request.id and Request.event; I'm not able to get the values of the idComponent and the ...