Your webapp is under 'test'? (Just for completeness of info.)

Yes it is.

Now with the above changes and I also read that tiles have a convention of prefixing period (.) so that has been changed I still get a 404 but with the new error message of "Invalid path /Tester was requested"

struts-config.xml:
<action path="/Tester.do" forward=".Tester" />

tiles-defs.xml:
<definition name=".Tester" extends="Main.layout">
 <put name="title" value="Test" />
</definition>

Home.jsp:
<html:link action="/Tester.do">Tester</html:link>

Is there anything else I should be doing?

I've never had any real issues with tiles so I suspect you're just not paying attention to the docs :)

<rant>
What docs there are: The Tiles tutorial on Cedric Dumoulin is 4 years old and is written for someone who already understands Struts & Tiles, which is something I have seen with a lot of struts tutorials - they are written from the perspective of someone who already understands the Struts.

The books are even worse, but that is the nature of authorship - by the time you have written, proof-read, typeset, reviewed and printed the book 1 to 2 years have passed and by that time what you are writing about has passed. Hence most books are for Struts 1.02 and 1.1 - not 1.2x. I suppose that there will be books for 1.3 but I hope that they improve on the examples (<table> is for displaying tabulated data - no page layout).
</rant>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to