I create rss.jar with a this structure:
  RSSPortlet.class
  rss2html.xsl

in RSSPortlet, I need to access the xsl file, so Im doing:
void foo()
{
   InputStream in = this.getClass.getClassLoader().getResourceAsStream(
"rss2html.xsl" )
   ...
}

I put rss.jar in WEB-INF/lib a rss.war.
When the RSSServlet try to call the function foo(), the rss2html.xsl is
not found ( the inputstream is null ).
Is this normal???

I'm using JBoss-3.0.4
-- 

Herve Tchepannou
mailto:[EMAIL PROTECTED]



-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to