Win a copy of Mesos in Action this week in the Cloud/Virtualizaton 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!
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic