tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nzindian <>
Subject Why cant I access a folder at root level which contains Java Script
Date Sat, 03 Apr 2010 20:57:08 GMT


Im trying to use a javascript WYSIWYG editor in a JSP page.

The JSP is in the following directory:

The Java script is in this directory:

The JSP contains the following code to include the JS file:
<script language="JavaScript" type="text/javascript"
<script language="JavaScript" type="text/javascript"

and it doesnt work,

Ive also tried adding a backslash before the js in the "src=".

However if I copy the JSP into the js folder (and remove the "js" from the
"src=") then it works!

Why can the JSP see the "js" folder?


View this message in context:
Sent from the Tomcat - User mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message