Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - Weird acting IE6 is not including ../ js and css files on some computers [Thread Next] Re: Weird acting IE6 is not including ../ js and css files on some computersTo: NULL Date: 1/11/2008 11:14:00 PM Give this page a try and see if you get the message saying that your browser has the bug http://www25.brinkster.com/imransadat/bugtest.asp if you get the message saying that bug found, then please let me know if upgrading any programs/files solves it. Thanks, Imran On Jan 11, 10:27=A0am, Imran Sadat <imransa...@gmail.com> wrote: > Hi, > > I have the following directory structure. A sample of the files is > given below. > > Home/ > =A0 =A0 =A0 =A0 submit.do > =A0 =A0 =A0 =A0 home.html > Home/xslt > =A0 =A0 =A0 =A0 =A0tranform1.xsl > > Home/css > =A0 =A0 =A0 =A0 =A0transform1.css > =A0 =A0 =A0 =A0 =A0style.css > > Home/js > =A0 =A0 =A0 =A0 =A0myjs.js > > Home/jsp > =A0 =A0 =A0 =A0 =A0 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=3D"text/javascript" src=3D"../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=3D"/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 | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
