tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kwok Peng Tuck <pengt...@makmal.net>
Subject Re: Tomcat and javascript files
Date Tue, 17 Jun 2003 08:16:55 GMT
If you tried src="/$WEB-APP/Hestia/coolmenus.js" does it work ?


MARTIN Franck wrote:

>Hi all,
>
>I am using Tomcat 3.2.1 and i have created a sub-directory in the webapps directory. It
is named Hestia.
>In this sub-directory i placed my home page with the following source code.
>
><html>
> <head>
>  <title>ALTA - Page d'Accueil</title>
> </head>
> 
> <body bgcolor="blue">
>  <SCRIPT language="JavaScript" src="coolmenus.js"></SCRIPT>
>  <SCRIPT language="JavaScript" src="menu.inc"></SCRIPT>
> </body>
></html>
>
>The files named coolmenu.js and menu.inc are also located in the Hestia sub-directory.
They only contain javascript instructions and functions.
>
>When i browse the page at http://localhost:8080/Hestia/PageAccueil.htm i only get a blue
page with no menu.
>
>The following errors are displayed in the console :
>
>2003-06-17 09:01:03 - Ctx( /Hestia ): IOException in: R( /Hestia + /coolmenus.js + null)
Connection aborted by peer: socket write error
>2003-06-17 09:01:03 - Ctx( /Hestia ): 404 R( /Hestia + /menu.inc + null) null
>
>Does anyone have an idea?
>
>Thanks in advance
>
>Franck
>
>
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message