Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

how to include external javascript file in an html

807600Oct 18 2007 — edited Oct 19 2007
i've an html file placed in apache/webapps/test folder this html file includes an external javascript file placed at same level
i'm includind the file as
<script src="file1.js"></script>
but the file does not gets included

but when the sam folder "test" is paste outside apache the html file including the external file runs properly.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 16 2007
Added on Oct 18 2007
14 comments
342 views