I've tried this but take javascript errors saying that the static function is undefined. Apparently, the staticJavascript.jsp is not being compiled/seen. All my jsp's are in /WEB-INF/jsp/*.
I've tried using every combination I can think of on the src= of the script tag but can't get a resolution. Any ideas?
<script type="text/javascript" src="/WEB-INF/jsp/staticJavascript.jsp"></ script>
The "src" tag is interpreted by the browser, not the servlet container. Therefore, you must present a URL which can be handled by the browser -- that means that first, you must use URL rewriting to establish the context-path, and second, you can't put the pages under WEB-INF because the browser won't be able to retrieve them.
Joe
--
Joe Germuska [EMAIL PROTECTED] http://blog.germuska.com "Narrow minds are weapons made for mass destruction" -The Ex
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]