Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Weird acting IE6 is not including ../ js and css files on some computers

From: Imran Sadat <imransadat@-----.--->
To: NULL
Date: 1/11/2008 9:28:00 AM
Hi,

I have the following directory structure. A sample of the files is
given below.


Home/
        submit.do
        home.html
Home/xslt
         tranform1.xsl


Home/css
         transform1.css
         style.css


Home/js
         myjs.js


Home/jsp
          xslout.jsp


Now what happens is when a person chooses something on the home.html
page, a request is passed to submit.do. The result of submit.do is a
redirection to xslout.jsp which is in the Home/jsp folder. This jsp
returns an xml. This xml refers to transform1.xsl for transformation.
This xsl includes the javascript using the code in the head section
of
the output html:
<script type="text/javascript" src="../js/myjs.js"></script>


On some computers the request sent by IE to the server is for a file
js/myjs.js


while on others it is correctly sent as
Home/js/myjs.js


This is really weird because on the 8 computers I tried this, 4 sent
the correct request and 4 did not.


Has anyone encountered this problem before?


I know I can get the page to work by changing the src to src="/Home/
js/
myjs.js" but any ideas how to get the above code to work.


The same thing happens if I include a css in the file.


Your help is really appreciated.


Thanks


Imran


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent