Ok, I get it what do you want ;-)
Take a look on StrutsSpringObjectFactory, you can try to cheat it by
defining ApplicationContext in ServletContext:
servletContext.setAttribute(WebApplicationContext.ROOT_WEB_APPLICATION_CONTEXT_ATTRIBUTE,
mockWebAppContext);
or you can have struts.xml in test/re
Brilliant, I suppose that " you can have struts.xml in test/resources
with struts.objectFactory = struts" will solve my issue.
Thank you very much.
Pozdrawiam/Best regards,
Damian Błażejewski
dblazejewski.com
2013/11/28 Lukasz Lenart
> Ok, I get it what do you want ;-)
>
> Take a look on
2 matches
Mail list logo