Basic Java web server

Introduction

This makes use of the Java web server library built in the Java web server example to provide a simple web server that serves up pages stored in flash.

Building the example

Change directory to the basic java webserver example
    cd %LF_HOME%\examples\basic_java_webserver
Rebuild the application
    lfmake clean all

Running the example

To run the example on the board
    lfdownload WebServer.bin

Use an FTP client to download a page to the board. For example, this readme will do.
    copy readme.html readme.htm
    ftp <board ip address>
  user: <any name>
  put readme.htm
  quit

Enter the URL for the development board in a web browser:
    http://<board ip address>/readme.htm

You should see this page appear in your web browser.

Features

This example demonstrates the following SDK features.