if (params == null) {
params = new HashMap<String,String>();
}
Dispatcher du = new Dispatcher(new MockServletContext(), params);
du.init();
Dispatcher.setInstance(du);
return du;
public static void
setUp()
Sets up the configuration settings, XWork configuration, and
message resources