posted 7 years ago
I'm trying to figure out what this question has to do with struts. Are you requesting the JSP directly?? With a URL which looks something like this: http://localhost:8080/Context/page.jsp or are you sending your request to a struts action?? Where you put the JSP and JS file on the server doesn't matter as the browser sends a separate request for the JS file.... Please tell us the URL that you are using to request this JSP and the directory structure where the JSP and JS files are...