Reputation: 11420
Is there some easy to follow tutorial for a Spring MVC newbie to add Tiles 2 to a very simple application? Heck, I don't really care if it's Tiles 2. I just can't stand copying the same JSP over and over.
I come from the Rails world where partials are dirt simple.
I basically just need a main.jsp file that contains sections that I can replace from other JSP's.
< rant > Every tutorial I find lists what seems like hundreds of lines of XML and assumes I know what viewResolvers, ContextLoadListeners and JohnsonRods are. I realize I have a lot to learn. I'm proud that after only 3 days I got clean urls and annotated controllers working. But being a C# and Ruby developer, I'm finding Java web programming painful. (btw, my day time job is moving me to Java that's why I must suffer the pain..lol) < /rant >
Thanks for any help.
Upvotes: 2
Views: 997
Reputation: 52665
Perhaps you should try Spring Roo,. The webapp generated by it uses Tiles2.
You could also see if this tutorial helps.
Upvotes: 2