Darren Hall ha scritto:
Isn't the ".do" extension just a placeholder for ".jsp" or some other
extension that is mapped in your struts-congif.xml?

In fact you configure it in web.xml (when you configure the ActionServlet), and anyway the welcome file is treated as a different entity. I really don't know why you cannot use an action as a homepage, but that's it...
I was also under the impression (maybe incorrectly) that I could map a URI
to a file (or in this case a tile definition) in my struts-config.xml and
also associate action classes with my tiles.

In fact you associated an action forward to a tile, but action forwards are actions and they must be called as actions (usually using a ".do" at the end). You are using your Tiles definition name as a "forward" and it works (or "it should work" :-) ) because of the TilesRequestProcessor.

I hope I cleared your doubts.

Ciao
Antonio


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

Reply via email to