| Author |
ArrayIndexOutOfBoundsException in JSP
|
aditya bhaskaruni
Greenhorn
Joined: Aug 06, 2012
Posts: 2
|
|
I had written code like this i got error
"org.apache.jasper.JasperException: java.lang.ArrayIndexOutOfBoundsException: 14 "
How can i remove this error
|
 |
Amit Ghorpade
Bartender
Joined: Jun 06, 2007
Posts: 2552
|
|
Hi aditya, welcome to Javaranch
The thread you posted is quite old now, so I am moving this to a new thread.
Firstly you really need to get rid of all the scripting code from your JSP.
Next, at a glance, the exception you are getting looks like a data problem to me.
|
SCJP, SCWCD.
|Asking Good Questions|
|
 |
Seetharaman Venkatasamy
Ranch Hand
Joined: Jan 28, 2008
Posts: 5575
|
|
difficult to find out which line is throwing an exception? you need find container generated java file etc ...
please go through below link =>
WhyNotUseScriptlets
|
 |
aditya bhaskaruni
Greenhorn
Joined: Aug 06, 2012
Posts: 2
|
|
sir,
actually i am sending data which in the excel to the database
the excel sheet contains 5776 records.
|
 |
priya sivanantham
Greenhorn
Joined: Aug 08, 2012
Posts: 1
|
|
Intialize the array lists to null first and then create a new one.
|
 |
 |
|
|
subject: ArrayIndexOutOfBoundsException in JSP
|
|
|