out.write("<script type=\"text/javascript\">\n");
pageContext.include("/static/esf/esf.js",true);
out.write("</script>\n");

But the exception IllegalStateException is thrown on the include of the esf.js file. The reason is null, so there's no more details. I find it odd in that the two prior includes works okay, but that third one fails. The file is definitely there (and has been working under TC 6.0 before).

When I change the code to use /static/esf/esf.javascript and rename the file to have the same suffix, the exception is not thrown.

Is there anything special about the .js suffix on a file for pageContext.include()?



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

Reply via email to