Newbie question - Tomcat 5.0 and external Javascript files

2005-10-05 Thread Pigott, Paul
Greetings, I'm having problems executing functions in an external javascript file. It's like the .js file can't be found. I was able to do this under Tomcat 4.0 but for some reason it's not working under Tomcat 5.0. The folder under webapps is /EdiHost and I've got another folder, /js, under

Re: Newbie question - Tomcat 5.0 and external Javascript files

2005-10-05 Thread Darek Czarkowski
You have to specify the full path, this should not work under any of the webservers. DarekC On Wed, 2005-10-05 at 08:03, Pigott, Paul wrote: Greetings, I'm having problems executing functions in an external javascript file. It's like the .js file can't be found. I was able to do this under

Re: Newbie question - Tomcat 5.0 and external Javascript files

2005-10-05 Thread Larry Meadors
You may be able to use this instead: src=js/EdiHost.js IDEA will get pissed about it, but it should work (I know it does for images). It is nice, because you can rename your context, and not break your webapp. :) Larry On 10/5/05, Pigott, Paul [EMAIL PROTECTED] wrote: Greetings, I'm

Re: Newbie question - Tomcat 5.0 and external Javascript files

2005-10-05 Thread Hassan Schroeder
Larry Meadors wrote: You may be able to use this instead: src=js/EdiHost.js It is nice, because you can rename your context, and not break your webapp. :) Or, if you're using JSTL, use: src=c:url value=/js/EditHost.js/ which has the added advantage of *not* being a relative path that'll

Re: Newbie question - Tomcat 5.0 and external Javascript files

2005-10-05 Thread Larry Meadors
Yeah, i just hate the tag inatag / / stuff. Messy. ;-) Larry On 10/5/05, Hassan Schroeder [EMAIL PROTECTED] wrote: Larry Meadors wrote: You may be able to use this instead: src=js/EdiHost.js It is nice, because you can rename your context, and not break your webapp. :) Or, if