• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ServletContext to access static resources

 
Padma priya Gururajan
Ranch Hand
Posts: 437
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I want to know the reason why ServletContext is used to access static resources as per javacertificate.com.

Please explain.

Thanks in advance.
 
Marc Peabody
pie sneak
Sheriff
Posts: 4727
Mac Ruby VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Were you expecting something different?
 
Padma priya Gururajan
Ranch Hand
Posts: 437
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Marc,

I was not expecting something diferent. I wanted to know the reason behind?

Thanks in advance.
 
Bobby Sharma
Ranch Hand
Posts: 598
3
Google App Engine jQuery Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic