This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
I have written some code in javascript file.. and accessing this file through <script src=""> tag in html.. but its not working when I deploy it on apache server.
but when I write same code in html file withing <scritpt> tag its working perfectly. so is there any configuration I have to do on apache server for working with js files. (I am using apache server.. not apache tomcat)
Hello,
Special settiongs are not required, just check as the guru said - if the file's being served. The path in "src" could be the culprit.
Experience and talent are independent of age
Saurabh Naik
Ranch Hand
Joined: Apr 24, 2008
Posts: 87
posted
0
yes the file is serving.. cause its showing the other contents other than script tag includes.
and I dont thing the src could be culprit.. coz If I open same individual html.. not on server.. but simply double clicking on html file.. its giving me the correct results.
Saurabh Naik wrote: coz If I open same individual html
Please use real words when posting to the forums. Abbreviations such as "coz" in place of "because" only serve to make your posts more difficult to read and less likely to generate useful responses.