aspose file tools*
The moose likes Struts and the fly likes ClassCastException in struts - urgent! :( Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "ClassCastException in struts - urgent! :(" Watch "ClassCastException in struts - urgent! :(" New topic
Author

ClassCastException in struts - urgent! :(

Viviane Grieco
Greenhorn

Joined: Sep 26, 2005
Posts: 3
Hi,
I'm with a problem when I submit a JSP.
This is the error:




The most strange is that I'm not using Tiles, even struts-config I removed the Tiles' plugin


My page:




My struts-config:
Edwin Keeton
Ranch Hand

Joined: Jul 10, 2002
Posts: 214

Your controller element is configured to use the TilesRequestProcessor. I suspect this is causing the ClassCastException.

Just use remove the controller element from your struts-config.xml file. This will configure struts to use the default processor


SCJP, SCWCD
Viviane Grieco
Greenhorn

Joined: Sep 26, 2005
Posts: 3
thanks so much!
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: ClassCastException in struts - urgent! :(