On Dec 6, 2007 6:54 PM, Hiep Nguyen <[EMAIL PROTECTED]> wrote:
> i have problem with path for java on my apache:

You mean JavaScript, which is something quite different from Java.

> this is working just fine:
> <script language="javascript" src="calendar.js" 
> type="text/javascript"></script>
>
> but as soon as i move calendar.js to a sub-folder includes/
> <script language="javascript" src"/includes/calendar.js"
> type="text/javascript"></script>
>
> then it's not working.

Is the = missing in the second src on your site as well? In which
case, that's probably the problem: src="/includes/calendar.js" should
work, assuming that /var/www/html is indeed your DocumentRoot and
there isn't anything fancy happening to the location of .js files.

Martijn.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to