aspose file tools*
The moose likes Struts and the fly likes module + tiles == lost hair Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "module + tiles == lost hair" Watch "module + tiles == lost hair" New topic

module + tiles == lost hair

Paul Woods

Joined: Nov 15, 2002
Posts: 23
The '/' character is killing me, or so the error message states.
I have an application that I am using Tiles in, and the default module works without problems.
I have a new module in that application, with it's own tiles-mymodule-def.xml file, and struts-mymodule-config.xml file. In the tiles...def.xml file, I have:

In my struts-mymodule-config file, the relevant parts are:

When I try to call http://localhost:8080/myapp/mymodule/, I get the following error message, the first ten lines below.

I appreciate any help or useful comments. I'm at wits end, and am starting to wonder if I've totally misunderstood the configuration above.
Thanks again, Paul
Paul Woods

Joined: Nov 15, 2002
Posts: 23
So no one wastes their time working on this, it's fixed now.
I had listed only what I thought was the relevant tiles-module-def.xml file in each of the struts-config files, instead of listing *all* of the tiles-def files in each struts-config file. I also just specified the property 'moduleAware' equals 'true', though it is supposed to be that by default. Doing the above fixed my problem. Thanks.
It is sorta covered in the JavaRanch Style Guide.
subject: module + tiles == lost hair