struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Zoran Avtarovski <>
Subject Re: taking control of the struts 2 layout in a jsp
Date Mon, 13 Aug 2007 14:12:40 GMT
We've had to override and customise customise the xhtml freemarker
templates. It's pretty easy and effective. All you do is explode the struts
core jar and copy the template files (.ftl extension) you want to change to
a template directory in the root of your app. Modify as you need.

I know there's a page on the wiki, I just can't see it.


> Hi,
> Struts displays the jsp objects the way it likes, for example, aligning
> buttons on the right even if I put them inside a <div align="left"></div>
> Is there a way to take control of how the layout is displayed without using
> the simple theme (that doesn't have a nice UI by the way)?
> Thanks,
> Session
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message