[jboss-user] [JBossWS] - Re: Loading a file into an InputStream within webservice cod

PeterJ do-not-reply at jboss.com
Mon Apr 7 12:16:22 EDT 2008


Try:

URL f = Thread.currentThread().getContextClassLoader().findResource("transformation.xslt");
  | FileInputStream xxx = new FileInputStream(f);

and place transformation.xslt in the base directory of the JAR file.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4142132#4142132

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4142132



More information about the jboss-user mailing list