This content has been marked as final.
Show 1 reply
-
1. Re: External javascript files won't load
kevinstembridge Oct 15, 2005 4:01 PM (in response to kevinstembridge)Well, I spent an hour trying to figure out the solution to this problem before I posted this message. Then the first thing I try after posting just happens to fix the problem.
My JSP and JS files are stored under the WEB-INF directory. Obviously, the JSPs are there to prevent direct access via the address bar of a browser but I guess it also prevents the browser from loading javascript files as well. Moving the JS files to a directory below the web application root, outside the WEB-INF folder fixed the problem.