File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Usage of getResourceAsStream() Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Usage of getResourceAsStream()" Watch "Usage of getResourceAsStream()" New topic
Author

Usage of getResourceAsStream()

Rahul JG
Ranch Hand

Joined: Jun 05, 2002
Posts: 44
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.


Rahul
 
 
subject: Usage of getResourceAsStream()