1 5 9 package com.opensymphony.webwork.dispatcher; 10 11 import java.util.HashMap ; 12 import java.util.Map ; 13 14 15 18 public class ServletDispatcherTest extends AbstractServletDispatcherTestCase { 19 21 24 public String getConfigFilename() { 25 return "com/opensymphony/webwork/dispatcher/ServletDispatcherTest-xwork.xml"; 26 } 27 28 31 public ServletDispatcher getServletDispatcher() { 32 return new ServletDispatcher(); 33 } 34 35 38 public String getServletPath() { 39 return "/Test.action"; 40 } 41 42 48 51 protected Map getParameterMap() { 52 Map map = new HashMap (); 53 map.put("foo", "bar"); 54 55 return map; 56 } 57 } 58 | Popular Tags |