My assignment is to implement a multithreaded web server in Java but i have no idea where to start. All we've seen in the lectures is how tcp works,layers etc.but i have no idea about how to implement a web server.
Can you give me a starting point?
Since you don't give much information just some links to helpful resources:
You haven't mention which language should you use. I assumed C/C++.
First, you can look at Boost.Asio library an it's examples. There are two HTTP server examples.
Second, if you need a rough plan on what to do here it is:
Exact function names and overall details are dependent on your programming language.