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 initialized reads a
couple of js files and process them using Rhino on the server side. This
works fine when I develop it because I am using Jetty when I run it local on
my machine, but when I try to run it on our development server that runs a
Tomcat then It suddenly does not work.
In What way are Tomcat treating this resources differently than Jetty? What
do I need to do to fix this?

Thanks for any suggestions,

Jacob

--
George Sexton
MH Software, Inc.
Voice: +1 303 438 9585
URL:   http://www.mhsoftware.com/

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

Reply via email to