struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Łukasz Lenart <lukasz.len...@googlemail.com>
Subject Re: using property/constant placeholder in struts config file
Date Sun, 18 Dec 2011 14:03:38 GMT
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
View raw message