-javascript .js
to your httpd.conf file? If not Apache, does your web server recognize
.js files if requested from an HTML page?
Ramesh Yerneni wrote:
Sorry, that was a typo, I have it as src, still doesn't work. Thank
you for trying to help...
Original Message Follows
From: Thad Humphries
Can someone tell how to provide location of a file without giving complete
path in jsp?
I am including javascript file in jsp for validations. I couldn't get it to
work unless if I give the complete path which is what I am trying to avoid.
TIA
In my jsp file tried to replace
script scr=c:\aims\src\jsp\orgedit.js/script
with
script scr=orgedit.js/script
and it doesn't work. The .js file and .jsp file are in same directory.
What intrigues me more is in the same jsp the following line works
%@include file=footer.jsp %
For some reason I
Yes, that is a problem, if we use action instead that won't be a problem.
Official JSP specs says the same.
I stop and restart the server if the changes in included jsp need to
recognized. In my batch file to start Tomcat I added one more line to clear
the work area files so that every time I
not scr--it's src. It should read script
src=orgedit.js/script
Ramesh Yerneni wrote:
In my jsp file tried to replace
script scr=c:\aims\src\jsp\orgedit.js/script
with
and it doesn't work. The .js file and .jsp file are in same directory.
What intrigues me more is in the same jsp the following line