Welcome page in Tiles2 with Struts2

2007-09-24 Thread wild_oscar
) Return the action's success to a tiles template Is there any alternative, cleaner way to do this with T2 and S2? Is using an interceptor for the same thing better in terms of performance? -- View this message in context: http://www.nabble.com/Welcome-page-in-Tiles2-with-Struts2-tf4508341.html

Re: Welcome page in Tiles2 with Struts2

2007-09-24 Thread Antonio Petrelli
2007/9/24, wild_oscar [EMAIL PROTECTED]: I want my welcome page to be a Tiles2 template (with, say, a welcome.jsp body). In my Tiles1+Struts1 application the way I achieved this was like: 1) Create a dummy welcome.jsp file 2) Have a WelcomeServlet to listnen to that page 3) Make the

Re: Welcome page in Tiles2 with Struts2

2007-09-24 Thread wild_oscar
this with T2 and S2? AFAIK, the simplest way to do it is by creating an index.jsp page that inserts a definition: tiles:insertDefinition name=my.home.definition / HTH Antonio -- View this message in context: http://www.nabble.com/Welcome-page-in-Tiles2-with-Struts2-tf4508341

Re: Welcome page in Tiles2 with Struts2

2007-09-24 Thread Antonio Petrelli
2007/9/24, wild_oscar [EMAIL PROTECTED]: Off-topic: everytime I read your name I remember the brothers from Heroes! LOL! I have no relatives with my surname in USA. Anyway I think I can fly :-P Antonio

Re: Tiles2 and Struts2

2007-02-01 Thread Emacs
://www.nabble.com/Tiles2-and-Struts2-tf3145679.html#a8746999 Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Tiles2 and Struts2

2007-01-30 Thread Gonçalo Luiz
Hello, After a few days fighting with Struts2 and Tiles2 I decided to ask in the mailing list: does actually anybody managed to get them to work together? I tried different approaches: 1 - Use a listener in web.xml - got an error that kept tomcat throwing 404 error 2 - use a servlet in web.xml

Re: Tiles2 and Struts2

2007-01-30 Thread Gonçalo Luiz
I forgot to mention: Struts - version struts2-api-2.0.1 Tiles - version struts2-tiles-plugin-2.0.1 On 30/01/07, Gonçalo Luiz [EMAIL PROTECTED] wrote: Hello, After a few days fighting with Struts2 and Tiles2 I decided to ask in the mailing list: does actually anybody managed to get them

Re: Tiles2 and Struts2

2007-01-30 Thread Dave Newton
--- Gonçalo Luiz [EMAIL PROTECTED] wrote: Struts - version struts2-api-2.0.1 Tiles - version struts2-tiles-plugin-2.0.1 I've been using Struts2/Tiles2 since 2.0.1 (on 2.0.3 now) and have had almost no issues; did you follow the instructions on the S2 wiki (now located at http://cwiki.apache.org

Re: Tiles2 and Struts2

2007-01-30 Thread Joe Germuska
On 1/30/07, Gonçalo Luiz [EMAIL PROTECTED] wrote: Hello, After a few days fighting with Struts2 and Tiles2 I decided to ask in the mailing list: does actually anybody managed to get them to work together? I tried different approaches: 1 - Use a listener in web.xml - got an error that kept