server sending a file to a client

I have to make a very simple web server where the client requests a file and the server sends it. The client can be a web browser.

I know how to make the connection and listen, but from there on I am stuck. All the resources I have found are either too complicated or not really relevant. Can anyone give me any advice as to what I should do next please?

Thanks.

[381 byte] By [nashera] at [2007-11-26 19:52:43]
# 1
Implement the HTTP conversation on your server.
hiwaa at 2007-7-9 22:43:49 > top of Java-index,Java Essentials,New To Java...