Thanks Łukasz, that's a perfect approach
2011/12/18 Łukasz Lenart
> Instead hardcoded result you can use expression
>
>
> ${actionFrame}
>
>
> And create a BaseAction (as a base action for all your actions) with
> getActionFrame() which will return
> "/templates/application/applicationfram
Hi,
I am attempting to unit test my actions with
struts2-junit-plugin-2.2.1, but I keep getting the follow exception:
WARN [main] o.s.m.w.MockServletContext - Couldn't get resource paths
for class path resource [WEB-INF/content/admin/]
java.io.FileNotFoundException: class path resource
[WEB-INF/co
Instead hardcoded result you can use expression
${actionFrame}
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.len
3 matches
Mail list logo