This project creates a simple Helloworld API SparkJava webapp.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src/main Changed back to user Apr 25, 2017
.gitignore Initial commit Apr 24, 2017
README.md Initial commit Apr 24, 2017
pom.xml Initial commit Apr 24, 2017

README.md

README

This guide will help you to build and run the Spark Java Hello World Example in a Servlet container.

Simply just run the maven command below.

mvn install

Simply copy the war file to your servlet container's webapp folder

cp target/<artifactId>-<version>.war  <tomcat_home>/webapps

And point your browser to

http://<server>:<port>:/<artifactId>-version>/hello

You should see

Hello World!