Changes between Version 17 and Version 18 of UTGBCore/DeveloperGuide
- Timestamp:
- 10/12/07 21:07:19 (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
UTGBCore/DeveloperGuide
v17 v18 47 47 == Create Your First Track == 48 48 49 In the default setting, if you add a RequestHandler implementation (say, Hello.java) into org.utgenome.gwt.utgb.server.app package, 50 the servlet (see wiki:UTGBCore/RequestDispatcher for details) can be accessed from 49 In the default setting, if you add a RequestHandler implementation (say, Hello.java) into org.utgenome.gwt.utgb.server.app package, the handler class can be accessed from: 51 50 http://localhost:8888/org.utgenome.gwt.utgb.UTGBResourceCenter/dispatcher?actionClass=org.utgenome.gwt.utgb.server.app.hello 51 52 In web mode (running on Tomcat server), this URL will be shortened into: 53 54 http://(webapp url)/(context path)/hello.action 55 56 (see wiki:UTGBCore/RequestDispatcher for details) 57 58 Your first task is to write a servlet that simply returns "HelloWorld!": 59 60 source:trunk/utgb/utgb-core/src/main/java/org/utgenome/gwt/utgb/server/app/HelloWorld.java 61 62 52 63 * wiki:UTGBCore/CreateYourOwnTrack