24 | | * The lines, param-name=base-package, param-value=(application base) specify the location (base package name) where the RequestDispatcher recursively searches for RequestHandler implementations (Java classes). |
25 | | * With the above 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. |
26 | | The upper letters are converted into the lower letters when mapping the request, e.g., Hello action can be accecced via hello.action URL. |
27 | | * Another example using hierarchies of actions: http://localhost:8989/admin/login.action is mapped to org.utgenome.gwt.utgb.server.app.admin.Login class. |
| 27 | |
| 28 | config/track-config.xml |
| 29 | {{{ |
| 30 | <config version="1.0"> |
| 31 | <import actionPackage="org.utgenome.gwt.utgb.server.app"/> |
| 32 | </config> |
| 33 | }}} |
| 34 | |
| 35 | |
| 36 | |
| 37 | ~~ * The lines, param-name=base-package, param-value=(application base) specify the location (base package name) where the RequestDispatcher recursively searches for RequestHandler implementations (Java classes). |
| 38 | ~~ * With the above setting, an HTTP request, e.g., http://localhost:8989/hello, is mapped to the request handler org.utgenome.gwt.utgb.server.app.Hello class. |
| 39 | |
| 40 | ~~The upper letters are converted into the lower letters when mapping the request, e.g., Hello action can be accecced via hello.action URL. |
| 41 | ~~ * Another example using hierarchies of actions: http://localhost:8989/admin/login.action is mapped to org.utgenome.gwt.utgb.server.app.admin.Login class. |