Changes between Version 8 and Version 9 of UTGBCore/RequestDispatcher
- Timestamp:
- 10/04/07 18:58:34 (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
UTGBCore/RequestDispatcher
v8 v9 5 5 6 6 == web.xml setting == 7 Add the following description into your web.xml. 8 * The lines param-name=base-package, param-value=(application base) specifies the location (base package name) where the RequestDispatcher searches recursively for RequestHandler implementations. 9 * With the following setting, an HTTP request, e.g., http://localhost:8989/hello.action, is mapped to the request handler org.utgenome.gwt.utgb.server.app.Hello class. The upper letters are converted into the lower letters when mapping the request, e.g., Hello action can be accecced via hello.action URL. 10 * Another example using hierarchies of actions: http://localhost:8989/admin/login.action is mapped to org.utgenome.gwt.utgb.server.Login class. 11 7 Add the following description into your web.xml: 12 8 {{{ 13 9 <servlet> … … 25 21 </servlet-mapping> 26 22 }}} 23 * The lines param-name=base-package, param-value=(application base) specifies the location (base package name) where the RequestDispatcher searches recursively for RequestHandler implementations. 24 * With the following setting, an HTTP request, e.g., http://localhost:8989/hello.action, is mapped to the request handler org.utgenome.gwt.utgb.server.app.Hello class. The upper letters are converted into the lower letters when mapping the request, e.g., Hello action can be accecced via hello.action URL. 25 * Another example using hierarchies of actions: http://localhost:8989/admin/login.action is mapped to org.utgenome.gwt.utgb.server.Login class. 27 26 28 27