struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aum strut <aum.str...@gmail.com>
Subject Re: using property/constant placeholder in struts config file
Date Mon, 19 Dec 2011 06:44:15 GMT
Thanks Łukasz, that's a perfect approach

2011/12/18 Łukasz Lenart <lukasz.lenart@googlemail.com>

> Instead hardcoded result you can use expression
>
> <action name="welcome" class="welcomeAction">
>     <result>${actionFrame}</result>
> </action>
>
> And create a BaseAction (as a base action for all your actions) with
> getActionFrame() which will return
> "/templates/application/applicationframe.jsp" or whatever your want
> ;-)
>
>
> Regards
> --
> Łukasz
> + 48 606 323 122 http://www.lenart.org.pl/
> Warszawa JUG conference - Confitura http://confitura.pl/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message