Re: unit testing with junit + spring + struts2, NullPointerException with HttpServletRequest

2011-10-20 Thread jaredtims
In the link you referenced me to, i'm not sure i understand how to accomplish "you can modify the configuration value "/WEB-INF/jsp" to the existing class path,such as "com.foo.bar" to make the convention resolve class path smoothly"? I tried setting struts.convention.result.path=com.foo.bar, but

Re: how do you test your action classes?

2011-10-14 Thread jaredtims
Can anyone confirm that the Struts2 Convention Plugin will not work with the Struts2 jUnit Plugin? I am attempting to unit test my actions, but I keep getting the following error: 2011-10-14 14:15:42,380 WARN org.springframework.mock.web.MockServletContext.getResourcePaths:212 - Couldn't get res

Re: unit testing with junit + spring + struts2, NullPointerException with HttpServletRequest

2011-10-14 Thread jaredtims
So will the Struts2 jUnit Plugin work with the Struts2 Convention Plugin? I keep getting errrors such as this: 2011-10-14 14:15:42,380 WARN org.springframework.mock.web.MockServletContext.getResourcePaths:212 - Couldn't get resource paths for class path resource [WEB-INF/content/] java.io.FileNo