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>
Bart
Bart -
From what I gather, the purpose of putting JSPs under the WEB-INF directory is so that they cannot be directly accessed by a web browser (for example typing in www.domain.com/WEB-INF/jsp/staticJavascript.jsp)
The way a script src= works is to basically access a file like a web browser would, which means access to the staticJavascript.jsp file is most likely being denied by your container.
You need to move the jsp out of the WEB-INF directory. (Or possibly setup an action mapping that forwards to the jsp under the WEB-INF, I'm not entirely sure how that would work though).
Matt
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]