This week's giveaway is in the Programmer Certification (OCPJP) forum.
We're giving away four copies of Java Mock Exams (software) and have David Mayer on-line!
See this thread for details.
Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Classcast exception in bean:define

Prasanna Ramaswamy
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am facing a peculiar problem. My application server is Oracle10g App Server. If the application has thrown any error, due to DB object missing etc, the JSPs whereever we are using <bean efine /> start throwing ClassCastException, since we havent explicitly mentioned "type" option even while using "String". Problem could be resolved only by restarting the server or if we have given the "type" parameter.

However this problem we are not facing while we are using the Struts 1.2.9 jars with eclipse-oracle10g integrated servers.

Wanted to understand the depth and root cause of the problem.
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!