Re: getResourceAsStream returning blank (NOT NULL)

2007-04-16 Thread Thomas Polliard
Tim Lucia wrote: -Original Message- From: Christopher Schultz [mailto:[EMAIL PROTECTED] Sent: Saturday, April 14, 2007 2:51 PM To: Tomcat Users List Subject: Re: getResourceAsStream returning blank (NOT NULL) Tim, Tim Lucia wrote: From: Johnny Kewl [mailto:[EMAIL PROTECTED

Re: getResourceAsStream returning blank (NOT NULL)

2007-04-16 Thread Thomas Polliard
Christopher Schultz wrote: Tim, Tim Lucia wrote: If you have an instance, then of course you have a this and of course you can call getClass(). If you haven't got an instance, you can't call getClass(). I.e., public Foo { } Foo.getClass() -- illegal. This is never legal,

Re: getResourceAsStream returning blank (NOT NULL)

2007-04-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tim, Tim Lucia wrote: If you have an instance, then of course you have a this and of course you can call getClass(). If you haven't got an instance, you can't call getClass(). I.e., public Foo { } Foo.getClass() -- illegal. This is never

Re: getResourceAsStream returning blank (NOT NULL)

2007-04-13 Thread Johnny Kewl
- Original Message - From: Thomas Polliard [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, April 13, 2007 3:40 AM Subject: getResourceAsStream returning blank (NOT NULL) I have the following code: package net.digitalassembly.auth; import java.util.ArrayList

Re: getResourceAsStream returning blank (NOT NULL)

2007-04-13 Thread Martin Gainty
by telephone or email and destroy the original message without making a copy. Thank you. - Original Message - From: Thomas Polliard [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, April 12, 2007 9:40 PM Subject: getResourceAsStream returning blank (NOT NULL

RE: getResourceAsStream returning blank (NOT NULL)

2007-04-13 Thread Tim Lucia
-Original Message- From: Johnny Kewl [mailto:[EMAIL PROTECTED] Sent: Friday, April 13, 2007 2:36 AM To: Tomcat Users List Subject: Re: getResourceAsStream returning blank (NOT NULL) InputStream in = getClass().getResourceAsStream(sPackageNameWithSlashes); If the class name

Re: getResourceAsStream returning blank (NOT NULL)

2007-04-13 Thread Thomas Polliard
Tim Thanks for the help, That FIXED it :)... Thanks for the reference it was indeed helpful. Thomas - To start a new topic, e-mail: [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

getResourceAsStream returning blank (NOT NULL)

2007-04-12 Thread Thomas Polliard
I have the following code: package net.digitalassembly.auth; import java.util.ArrayList; import java.util.List; import java.util.Properties; import java.io.InputStream; import java.io.IOException; import net.digitalassembly.auth.PamModule; import net.digitalassembly.auth.PamHibernateModule; //