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 "