After a few more search...

   @Before
    public void init() {
        context = new MockServletContext("test");

        // Add the Stripes Filter
        Map<String, String> filterParams = new HashMap<String, String>();
        filterParams.put("ActionResolver.Packages",
"com.xxx.front.action");
        filterParams.put("LocalizationBundleFactory.Class",
"com.yyy.framework.stripes.JstlLocalizationBundleFactory");
        filterParams.put("Extension.Packages",
"net.sourceforge.stripes.integration.spring");
        filterParams.put("ActionBeanContext.Class",
"com.xxx.front.action.CaActionBeanContext");
        filterParams.put("LocalePicker.Locales", "en_US:UTF-8");
        filterParams.put("LocalizationBundleFactory.Class",
"com.yyy.framework.stripes.JstlLocalizationBundleFactory");
        
        context.addFilter(StripesFilter.class, "StripesFilter", filterParams);
        context.addInitParameter("contextConfigLocation", "/WEB
INF/applicationContext.xml");

        context.setAttribute("user.sessionId", "1");

        context.setServlet(DispatcherServlet.class, "StripesDispatcher", null);
    }

Same error, again and again... What did I miss this time? I hate coding without
automated testing...


------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to