Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Usage of getResourceAsStream()

 
Rahul JG
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I cleared the SCWCD exam scoring 83%. Although I was not a member of javaranch, I used to visit it regularly and it helped me a lot. Also taking a cue from the sharing nature of all javaranchers, I have decided to upload some questions which I thought might be useful for the future web component developers. Currently I have a sample of about 16 questions which will be increased in due course of time.
The questions can be reached at geocities.com/rahuljg/scwcd/scwcd.html
I still however have a doubt regarding the usage of the following methods: ServletContext.getResource() and
ServletContext.getResourceAsStream()
Can someone give a scenario where these methods might be useful.
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!