• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ArrayIndexOutOfBoundsException in JSP

 
aditya bhaskaruni
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2854
10
Fedora Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Seetharaman Venkatasamy
Ranch Hand
Posts: 5575
Eclipse IDE Java Windows XP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sir,

actually i am sending data which in the excel to the database


the excel sheet contains 5776 records.
 
priya sivanantham
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Intialize the array lists to null first and then create a new one.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic