Java Reference
In-Depth Information
figure 10-31
In your Eclipse project, create a new folder called
data
. In this folder, you can create or put files. For
instance, try creating a file called
hello.htm
in your text editor with the content:
<html><body><h1>Hello!</h1></body></html>
Run the server (make sure to stop any running servers). Note the
404
error when opening
shown in Figure 10-32 will appear.
figure 10-32
The
Simple
library is easy to extend with even more functionality (getting data the users enter in
forms, for example). If you only need to provide information from Java to users via a web server, this
should be enough to get started. Check out the documentation at
http://www.simpleframework
.org/
for more information.
Search WWH ::
Custom Search