File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Classcast exception in bean:define Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Classcast exception in bean:define" Watch "Classcast exception in bean:define" New topic
Author

Classcast exception in bean:define

Prasanna Ramaswamy
Greenhorn

Joined: Jul 06, 2005
Posts: 6
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Classcast exception in bean:define
 
Similar Threads
Problem in file uploading - XML & socket
IIS to WebLogic connections are not getting closed
Refresing problem in weblogic
Switching[restarting] Database forces to restart application
performance degradation of Swing application on Oracle 10g Application server