File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "ClassCastException in struts - urgent! :(" Watch "ClassCastException in struts - urgent! :(" New topic

ClassCastException in struts - urgent! :(

Viviane Grieco

Joined: Sep 26, 2005
Posts: 3
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

Viviane Grieco

Joined: Sep 26, 2005
Posts: 3
thanks so much!
I agree. Here's the link:
subject: ClassCastException in struts - urgent! :(
It's not a secret anymore!