You could also define a global result for success:
global-results
result name=success/templates/application/applicationframe.jsp/result
/global-results
On Mon, Dec 19, 2011 at 1:44 AM, aum strut aum.str...@gmail.com wrote:
Thanks Łukasz, that's a perfect approach
2011/12/18 Łukasz Lenart
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
Thanks Łukasz, that's a perfect approach
2011/12/18 Łukasz Lenart lukasz.len...@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)
Hi All,
While working in one application i came across a requirement where i need
to define a constant in struts.xml file and want to use in my
application.Here is the use case
in our application the layout is fixed and we are using a same template
throughout the application say
4 matches
Mail list logo