On Sat, Apr 3, 2010 at 1:57 PM, nzindian <vj...@hotmail.com> wrote: > Im trying to use a javascript WYSIWYG editor in a JSP page.
> The JSP contains the following code to include the JS file: > and it doesnt work, Look at the page source in a browser and see what it is. Why doesn't it work? Because it's wrong, *from the perspective of the user agent*. You can hard-code your context path or use JSTL e.g. "<c:url ... " or the corresponding JSP declaration to add your context path in front of the context-relative script directory path. -- Hassan Schroeder ------------------------ hassan.schroe...@gmail.com twitter: @hassan --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org