| 66 | == Using Dispatcher in GWT Hosted Mode == |
| 67 | Unfortunately, GWT-hosted mode that uses gwt-embedded TomcatServer and GWTShell, does not support |
| 68 | servlet-mapping in web.xml, since every path (/*) is already mapped to GWTShellServlet, which |
| 69 | redirects requests to public folder or servlet codes. |
| 70 | |
| 71 | GWTShellServlet is mandatory to debug client-side codes within within Eclipse (or other IDEs). |
| 72 | |
| 73 | |
| 74 | Thus, there is no way to use following web.xml setting effectively. |
| 75 | {{{ |
| 76 | <url-pattern>*.action</url-pattern> |
| 77 | }}} |
| 78 | Even if you put the avobe setting |
| 79 | into tomcat/ROOT/WEB-INF/web.xml, it does not work because of the mapping /* to GWTShellServlet overshadows other mappings. |
| 80 | |
| 81 | |
| 82 | |
| 83 | |