This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
I have a JSP page. from there i am accessing a java File. There i will fetch the Data's from the DB and set it into a Vector and pass the same to the JSP page for the Display.
The method in the java file is not synchronised.
when the page gets more number of hits .. then the array returned in empty vector and so i am getting a exception in the JSP page. (why bcos i am accessing the Vector in the JSP to show up data's) so when a null vector is access using vector.get(i) (where i is loop variable)
i am getting "java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 1 "