Skip to content

Instantly share code, notes, and snippets.

@luebken luebken/Hello.java
Created Nov 6, 2014

Embed
What would you like to do?
SparkExample - Hello.java
package sparkexample;
import static spark.Spark.get;
public class Hello {
public static void main(String[] args) {
get("/", (req, res) -> {
return "hello from sparkjava.com";
});
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.