This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Struts and the fly likes How do I set up a template? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "How do I set up a template?" Watch "How do I set up a template?" New topic
Author

How do I set up a template?

jeff kies
Greenhorn

Joined: Feb 07, 2002
Posts: 5
Hi All,

I'm a web designer working on a Struts2 project with a few developers. I'd like to set up a template, so that the developers don't have to view any markup that they will never need to touch. Can I set up templates in Struts2, or do I need to use some other technology?

Thanks
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Struts 2 isn't really concerned with the view layer, except for the convenience tags. There's the standard JSP templating mechanism, SiteMesh, Tiles, and so on that deal with things like templating.
jeff kies
Greenhorn

Joined: Feb 07, 2002
Posts: 5
Tiles looks promising. I'll check out SiteMesh too. Thanks.
 
Consider Paul's rocket mass heater.
 
subject: How do I set up a template?
 
Similar Threads
Struts2
Struts2 java.lang.reflect.InvocationTargetException (Struts2 with Hibernate)
Struts2
struts2
Struts2/JQuery