Results 1 to 1 of 1
- 02-15-2008, 05:47 AM #1
Member
- Join Date
- Feb 2008
- Posts
- 1
- Rep Power
- 0
External JavaScript files not loading
Dear All
I have a Java web application running under Tomcat 6 , where I need to use an external .js file. My docBase is /erp under /usr/local/tomcat/webapps
I tried putting the script.js file in erp/script.js and erp/jscript/script.js and tried to access this from my html files by saying <script language="javascript" src="/erp/jscript/script.js" > </script> and
<script language="javascript" src="/erp/script.js"> </script>
but both option does'nt seem to work.
When I put these functions in the .html itself , it works.
Can anyone help
My OS Suse Linux 9.2
JDK 1.6
Thanking you in advance
Saju
Similar Threads
-
javac not recognized as an internal or external command
By kotoko in forum New To JavaReplies: 28Last Post: 10-26-2010, 04:39 AM -
Creating jarfile containing external jarfiles
By gowry in forum Advanced JavaReplies: 44Last Post: 04-08-2008, 03:18 AM -
Using Runtime to execute external commands
By Java Tip in forum Java TipReplies: 0Last Post: 02-05-2008, 09:14 AM -
External Program execution problems
By vital101 in forum Advanced JavaReplies: 3Last Post: 10-30-2007, 05:17 PM -
Use a external file in my program
By romina in forum New To JavaReplies: 1Last Post: 08-07-2007, 05:28 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks