aspose file tools*
The moose likes Struts and the fly likes Tiles without Struts -- looking for resources Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Tiles without Struts -- looking for resources" Watch "Tiles without Struts -- looking for resources" New topic
Author

Tiles without Struts -- looking for resources

Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
Hi all,

I hope that the Spring Live promotion this week doesn't take over the whole forum

We're looking into taking Struts Tiles into use but without Struts itself and I'd love to avoid banging my head against a hard surface if someone else has done that already and would like to share her hard-earned wisdom... The thing is, I have already set up Tiles so that we can use it by defining pages and layouts in either a JSP page or an external XML configuration file, but I have no idea about what the "best practices" for a Tiles-only web application would be?

PS. We're stuck with the 1.1 version of Struts/Tiles if that's somehow significant with regard to these best practices I'm looking for.


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Jason Menard
Sheriff

Joined: Nov 09, 2000
Posts: 6450
Lasse, have you dug through the tiles example war that came with the Struts distribution (can't remember the exact name right now and I don't have Struts handy)? There's some documentation and examples along with it if I remember correctly. I've looked at it, it looks like it's from Tiles in its pre-Struts days. It's not all that great (and some stuff didn't even compile) but it might be enough to get you going. Also, here's the Tiles project page which has a bunch of info.
[ October 27, 2004: Message edited by: Jason Menard ]
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
Thanks, Jason. I had browsed through Dumoulin's website (the best resource so far) and did take a quick look at the Tiles examples within the Struts distribution but I have no idea whether they represent a good way to structure Tiles applications or whether they're written with a "Petstore" mentality, i.e. just to show different features in action.
 
 
subject: Tiles without Struts -- looking for resources