-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jacob,
On 5/6/2009 3:00 AM, Jacob Bergöö wrote:
> final Resource resource = iterator.next();
> final Context cx =
> ContextFactory.getGlobal().enterContext();
> final StringBuilder stringBuil
solve it.
Thanks for the help,
Jacob
[1]
http://www.javaworld.com/javaworld/javaqa/2003-08/01-qa-0808-property.html?page=2
--
View this message in context:
http://www.nabble.com/Problem-Accessing-resource-files-in-Tomcat-6.0.18-tp23389326p23407801.html
Sent from the Tomcat - User mailing list
I've never used getResourceAsStream() from a class loader.
The one thing I can point out is that by specification, the
ServletContext.getResourceAsStream() requires that the file name start
with /. If you're getting Tomcat's class loader that would explain the
problem.
Jacob Bergöö wrote:
--
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>
>
--
View this message in context:
http://www.nabble.com/Problem-Accessing-resource-files-in-Tomcat-6.0.18-tp23
Are you using getResourceAsStream()? Do your paths start with / ?
Jacob Bergöö wrote:
Hi All,
I have a problem when I deploy my war file on Tomcat 6.0.18 that does not
occur when I deploy the same war file on my Jetty web server.
My war file contains a jar artifact that when Spring is initializ
for any suggestions,
Jacob
--
View this message in context:
http://www.nabble.com/Problem-Accessing-resource-files-in-Tomcat-6.0.18-tp23389326p23389326.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
-
To