Changes between Version 17 and Version 18 of UTGBCore/DeveloperGuide


Ignore:
Timestamp:
10/12/07 21:07:19 (18 years ago)
Author:
leo
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • UTGBCore/DeveloperGuide

    v17 v18  
    4747== Create Your First Track ==
    4848
    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
     49In 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:
    5150  http://localhost:8888/org.utgenome.gwt.utgb.UTGBResourceCenter/dispatcher?actionClass=org.utgenome.gwt.utgb.server.app.hello
     51
     52In web mode (running on Tomcat server), this URL will be shortened into:
     53 
     54http://(webapp url)/(context path)/hello.action
     55
     56(see wiki:UTGBCore/RequestDispatcher for details)
     57
     58Your 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
    5263 * wiki:UTGBCore/CreateYourOwnTrack