I am unable to understand what exactly is
servlet context used for ? Can you suggest examples from real-world applications ?
The HF book says "Its a kind of application bulletin-board, where you can put up messages (called attributes) that other parts of the application can access" . Can anyone suggest an example that demonstrates this ? And why would i want to "put up messages (called attributes) that other parts of the application can access" ?
There is a servlet that allows a user to download a jar file. How does it fit into the above explanation ?
here is a part of that servlet code :
PS : please be frank and let me know if this is a silly doubt.