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 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 "/EdiHost".
>
> In my HTML, I've got the attribute "SRC="/js/EdiHost.js" in my SCRIPT tag.
>
> Any ideas anyone?
>
> TIA,
>
> Paul
> CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is
> for the sole use of the intended recipient(s) and may contain confidential
> and privileged information. Any unauthorized review, use, disclosure or
> distribution is prohibited. If you are not the intended recipient, please
> contact the sender by reply e-mail and destroy all copies of the original
> message.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to