wood burning stoves*
The moose likes Struts and the fly likes Problems forwarding to a tile Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Problems forwarding to a tile" Watch "Problems forwarding to a tile" New topic
Author

Problems forwarding to a tile

Tero Ripattila
Greenhorn

Joined: Jul 13, 2005
Posts: 14
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 ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problems forwarding to a tile