On Thu, Mar 19, 2009 at 5:23 PM, Agent96
<matt.nel...@metadatatechnology.com> wrote:
>
> Thanks...I just came to the same conclusion too.....
>
> URI uri = MyClass.class.getResource("/resources/xsd/Message.xsd").toURI()
> which resolves to myWebApp/WEB-INF/classes/resources/xsd/Message.xsd
>

That's not recommended.

Instead of using Class.getRessourceAsStream() you should be using
ServletContext.getRessourceAsStream()

Rgds

Gregor
-- 
just because your paranoid, doesn't mean they're not after you...
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available @ http://pgpkeys.pca.dfn.de:11371

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to