Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ClassCastException in struts - urgent! :(

 
Viviane Grieco
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 214
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks so much!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic