Hi Padama
In this world,something is available to do some task ,like the way
ServletContext is available by Sun to access static resources.
My dear friend ,
Java is all about API, so sun created ServletContext
to perform static-resource access.
Your question is just similar to the 'Why Knife for cutting Vegetables?'
no offense here ,I just tried to explain you the fact.
best regards,
omi