Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problems forwarding to a tile

 
Tero Ripattila
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all, I'm creating a tiny web site using struts, tiles and jstl-powered jsp pages. I've got some business logic included in javabeans and used in action classes, but there's nothing complicated involved here like EJBs or such.

I'm pointing my browser to <http://localhost:8080/site/main.do>. The problem is that I get an exception called IllegalArgumentException telling me that the tile I'm forwarding to at the end of my action class should be absolute. This tile is named as ".main" like suggested in many howtos. Execution never gets to my jsp pages.

Any ideas how to fix this or good pointers where to continue reading valid information? I've been spending hours and again hours reading out of dated documents and howtos, but without any luck.

Please see the following exact error message.



Here's my tiles-definition.xml:


Here's my struts-config.xml:


[1] This is the tile I'm trying to get to function. When it does, I'll proceed with the others then.

And here's my web.xml:


And here's the code of my action class:



TIA, Tero

[ January 12, 2006: Message edited by: Tero Ripattila ]
[ January 13, 2006: Message edited by: Tero Ripattila ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic