Re: Common header and footer html

2007-03-30 Thread Patrick J Kobly
G'day, This is probably the suck, but: template.jsp: <[EMAIL PROTECTED] prefix="s" uri="/struts-tags" %> <[EMAIL PROTECTED] import='com.opensymphony.xwork2.ActionContext' %> Some header stuf <%! String actionname=(String)ActionContext.getContext().get(ActionConte

RE: Common header and footer html

2007-03-30 Thread Dave Newton
--- 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

RE: Common header and footer html

2007-03-30 Thread Juan Espinosa
Juan -Mensaje original- De: meeboo [mailto:[EMAIL PROTECTED] Enviado el: viernes, 30 de marzo de 2007 11:09 Para: user@struts.apache.org Asunto: RE: Common header and footer html Is there a good way of achieving this in Struts 2 without using Tiles? I'm new to Struts and coming f

RE: Common header and footer html

2007-03-30 Thread meeboo
D] > Sent: 30 March 2007 13:55 > To: user@struts.apache.org > Subject: Common header and footer html > > Currently, all my jsp pages are structured like this: > * identical html header and tag ... > * page specific content > * identical trail of and > > Inste

Re: Common header and footer html

2007-03-30 Thread Dave Newton
--- Ståle Undheim <[EMAIL PROTECTED]> wrote: > I have been looking at the tiles plugin, but I > couldn't make out enough from the documentation to > see how I could use it. A combination of the plugin docs and older Tiles docs should be enough to get you going. http://struts.apache.org/2.x/docs/

RE: Common header and footer html

2007-03-30 Thread Raghupathy, Gurumoorthy
http://struts.apache.org/1.x/struts-tiles/ is your answer Regards Guru -Original Message- From: Ståle Undheim [mailto:[EMAIL PROTECTED] Sent: 30 March 2007 13:55 To: user@struts.apache.org Subject: Common header and footer html Currently, all my jsp pages are structured like

Common header and footer html

2007-03-30 Thread Ståle Undheim
Currently, all my jsp pages are structured like this: * identical html header and tag ... * page specific content * identical trail of and Instead of copying this for every file, I would like to have 1 common outer wrapper file, that includes a jsp based on the action or something. I have bee