Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

include external .js file

Status
Not open for further replies.

kkjj95

Programmer
Aug 29, 2007
2
US
Hi,

My program will generate a .js file which will store at "C:\software\apache-tomcat\temp\test.js". And in one of my jsp files, I will include that "test.js" file. I tried the following code, but it doesn't work. Does anyone knows how can I include such kind of .js file?

<script src="C:\software\apache-tomcat\temp\test.js" type="text/javascript"></script>


Thanks in advance!
 
Thanks for the reply. but I don't have "<script></script>" tags in my .js file.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top