File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Web application and Class.getResource()

 
sergiy
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello everybody.
I have some web application and I have some util classes in it. There I try to get the input stream for the properties file stored in my web application along with class files in the corresponding package (let's say com/a/b/c/fff.properties). So I use Class.getResource(com/a/b/c/fff.properties) to get it. But it does not work.
I use Weblogic 5.1 with SP9. Where am I wrong?
Best regards,
Sergiy.
 
Madhav Lakkapragada
Ranch Hand
Posts: 5040
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

"sergiy"
your name doesn't comply with the javaranch guidelines.
please take a moment and re-register after reviewing the
guidelines at http://www.javaranch.com/name.jsp
Thanks for your cooperation.
- satya
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic