Saturday, June 9, 2007

Jetty Lift Scala Tutorial for Windows XP

First install Jetty as a web server.
Open a cmd session in that Jetty directory (for this I use Microsoft PowerToys "Open Command Window" tool.)
In that cmd session, execute
java -cp . -jar start.jar

Open an IE browser and enter the address http://localhost:8080
When the web page comes up, click the Jetty test link
Go to the cmd window and enter CTRL-c to stop jetty

Now install Lift if you have not already done so.
Copy the Lift JAR file to jetty\lib
Copy the Lift Examples WAR file to jetty\webapps
restart jetty
refresh the localhost web page with the F5 key
This time click the Lift Examples link

Welcome to Lift on Jetty

1 comment:

Anonymous said...

Hi Robert,

I came to this post via the comment you had left at Lift Quickstart page. I hope this post is the newbie-quickstart post that you mention there on the comment.

This post instrutcts how to install Lift examples onto a stand-alone Jetty server. For someone getting started, installing a Lift application into a standalone servlet container is the last worry. From your comment I was expecting something similar to DHH's Rails screencast or so. :-)