Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

InstantiationException

 
Dong Hoang
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does anyone know why am I getting this exception?

E SRVE0026E: [Servlet Error]-[bean message not found within scope ]: java.lang.InstantiationException: bean message not found within scope

I have a drop down list with 4 sort options within my jsp. When a selection is made the "onchange=doSort()" javascript function is called and submit to my servlet.

 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64843
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I suspect that the problem may be within the ShowException.jsp file. Check the useBean tags on that page to make sure that they are correct.

Why are you not using declarations in the web.xml to direct errors rather than this non-standard mechanism?
[ August 24, 2004: Message edited by: Bear Bibeault ]
 
Dong Hoang
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am not familiar with web.xml. Do you have an example that you can point me to?
 
Dong Hoang
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am not familiar with web.xml. Do you have an example that you can point me to?
 
Dong Hoang
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the quick respond.

Now I am getting a NullPointerException on this line

String claimNo = req.getParameter("claimNo").toUpperCase();
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic