You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by "Sertic Mirko, Bedag" <Mi...@bedag.ch> on 2008/09/22 11:01:47 UTC

getExternalContext().getResourceAsStream returns null

Hi@all

 

I am encountering the following situation:

 

I am trying to resolve a resource using the
getExternalContext().getResourceAsStream method. On one tomcat 5.5
installation, it returns the InputStream successfully, but another
tomcat installation returns null. The source code is identical, and the
resource name also. I think this problem is related to ClassLoader
issues. Is this common and how can I solve this issue?

 

Thanks in advance

 

Mirko