aspose file tools*
The moose likes Servlets and the fly likes InstantiationException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "InstantiationException" Watch "InstantiationException" New topic
Author

InstantiationException

Dong Hoang
Greenhorn

Joined: Aug 24, 2004
Posts: 10
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

Joined: Jan 10, 2002
Posts: 61648
    
  67

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 ]

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Dong Hoang
Greenhorn

Joined: Aug 24, 2004
Posts: 10
I am not familiar with web.xml. Do you have an example that you can point me to?
Dong Hoang
Greenhorn

Joined: Aug 24, 2004
Posts: 10
I am not familiar with web.xml. Do you have an example that you can point me to?
Dong Hoang
Greenhorn

Joined: Aug 24, 2004
Posts: 10
Thanks for the quick respond.

Now I am getting a NullPointerException on this line

String claimNo = req.getParameter("claimNo").toUpperCase();
 
jQuery in Action, 2nd edition
 
subject: InstantiationException