(String[] args)
| 9 | |
| 10 | public class MethodCall { |
| 11 | public static void main(String[] args) throws Exception{ |
| 12 | HashMap map = new HashMap(); |
| 13 | System.out.println("before:"+map); |
| 14 | |
| 15 | ModelController mc = new ModelController(); |
| 16 | String viewName = mc.main(map); |
| 17 | |
| 18 | System.out.println("after :"+map); |
| 19 | |
| 20 | render(map, viewName); |
| 21 | } |
| 22 | |
| 23 | static void render(HashMap map, String viewName) throws IOException { |
| 24 | String result = ""; |