There are some other things but i dont want to go into details.So the problem is whenever there is a reading or writing i get them from classThird and then pass them from classFirst to classSecond via the update() method.However sometimes this getParameter() method does not return anything and i need to assign the null values to my reading and writing variables in these kind of situations.I want to see the null values in the ArrayList1-2 in class Second whenever getParameter() method does not return anything.Could you please help me to do this? Thanks a lot in advance!!!
So what's the problem ? If reading and writing are set to null by request.getParameter then this will be returned to the code that adds them to the array just the same as if they actually referred to a String object.
subject: How to get null values when the method does not return aything?