--- meeboo <[EMAIL PROTECTED]> wrote:
> Is there a good way of achieving this in Struts 2
> without using Tiles? 

> I'm new to Struts and coming from a Tapestry 
> background my first hunch was to create classes for
a
> header and a footer element, but is this even a 
> viable option in an action based framework?

Well, S2 is definitely not a component-based
framework. 

That said, if you're dead-set on not using Tiles or
Sitemesh you could create actions that rendered the
header and footer and use <s:action.../> tags or
equivalent or use <jsp:include.../> (or even <%@
include...> or whatever the static include is) and
just put those tags on every page.

There are probably several other solutions that people
will chime in with as well.

d.



 
____________________________________________________________________________________
Finding fabulous fares is fun.  
Let Yahoo! FareChase search your favorite travel sites to find flight and hotel 
bargains.
http://farechase.yahoo.com/promo-generic-14795097

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to