This content has been marked as final.
Show 1 reply
-
1. Re: Loading resources from a session bean
thohawk Apr 19, 2002 1:04 PM (in response to jgremmen)Hi jgremmen
I've seen people use the getResourceAsStream(String name) - method in java.lang.Class. Haven't tried it out myself. Probably it will look in the VM's class library for your xsl-file, so make sure that your jar with the xsl-file is in your classpath or loaded into the current VM.
Regards
Jesper
P.S.: Thanx for your comments about using setCatalog for multiple databases. Now i (think) i understand why Jboss throws exception's when rolling back db-connections