From 6135b2b8ae5451752f2b040c4a45ce1b0adb6c71 Mon Sep 17 00:00:00 2001 From: Gaurav Agarwal Date: Thu, 27 Jun 2019 15:09:35 +0530 Subject: [PATCH] Updating instructions. --- code-samples/02-Client-Server/instructions.md | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/code-samples/02-Client-Server/instructions.md b/code-samples/02-Client-Server/instructions.md index 20116f0..6ac7414 100644 --- a/code-samples/02-Client-Server/instructions.md +++ b/code-samples/02-Client-Server/instructions.md @@ -24,3 +24,26 @@ Refer: http://sparkjava.com/tutorials/maven-setup ``` + +Also modify: + +```xml + 1.8 + 1.8 +``` + +from `1.7` to `1.8`. + +## Replace the code in App.java + +```java +package com.algogrit.java; + +import static spark.Spark.*; + +public class App { + public static void main(String[] args) { + get("/hello", (req, res) -> "Hello World"); + } +} +```