Creating Web Applications with Http Servlets
Creating Web Applications with Http Servlets
Last Updated | 1 November 2015 |
Source | On GitHub |
Java EE Http servlets can be used from Kotlin much like any other Java library or framework. We'll see how to make a simple controller that returns "Hello, World!".
Defining the project and dependencies
In this tutorial we're going to be using Gradle but the same can be accomplished using either IntelliJ IDEA project structure or Maven. For details on setting up Gradle to work with Kotlin, see Using Gra