Created
May 12, 2012 19:14
-
-
Save a-thomas/2668298 to your computer and use it in GitHub Desktop.
Spark web main
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Application { | |
public static void main(String[] args) { | |
get(new Route(“/”) { | |
@Override | |
public Object handle(Request request, // | |
Response response) { | |
return “Welcome!” | |
} | |
}); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment