I'm not an expert with javascript, but doesn't the
script tag need a language or type attribute so the
browser knows what to do with this file?

Also if you front-end Tomcat with Apache or IIS, you
need to let the .js requests go through to Tomcat.

Charlie

> -----Original Message-----
> From: Ramesh Yerneni [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, August 30, 2001 11:07 AM
> To: [EMAIL PROTECTED]
> Subject: Re:Filepath quesiton
> 
> 
> 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 can't get .js files to work
without giving 
> full path where 
> as included jsp are loaded properly wihtout full
path. 
> Anybody knows why?
> 
> 
> 
>
_________________________________________________________________
> Get your FREE download of MSN Explorer at 
> http://explorer.msn.com/intl.asp
> 

__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com

Reply via email to