tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thad Humphries <t...@mindwrap.com>
Subject Re: Filepath quesiton
Date Thu, 30 Aug 2001 17:45:14 GMT
If you are running Apache, have you added

AddType application/x-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 <thad@mindwrap.com>
> Reply-To: tomcat-user@jakarta.apache.org
> To: tomcat-user@jakarta.apache.org
> Subject: Re: Filepath quesiton
> Date: Thu, 30 Aug 2001 11:38:36 -0400
>
> It's 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 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?
>>
>> ...
>
>
> -- 
> -------------------------------------------------------------------------
> Thad Humphries               "...no religious test shall ever be required
> Web Development Manager       as a qualification to any office or public
> Phone: 540/675-3015, x225     trust under the United States." -Article VI
>
>
>
>
>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at 
> http://explorer.msn.com/intl.asp
>

-- 
-------------------------------------------------------------------------
Thad Humphries               "...no religious test shall ever be required
Web Development Manager       as a qualification to any office or public
Phone: 540/675-3015, x225     trust under the United States." -Article VI




Mime
View raw message