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
--- 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
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
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? If not, what's the best practice whe
--- 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/
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 this
6 matches
Mail list logo