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 ClassCastException in struts - urgent! :( Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA 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!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: ClassCastException in struts - urgent! :(