David Smith <[EMAIL PROTECTED]>
Martin Gainty <[EMAIL PROTECTED]>
Johnny Kewl <[EMAIL PROTECTED]>
Caldarale, Charles R <[EMAIL PROTECTED]>
Fargusson.Alan <[EMAIL PROTECTED]>
thank all you guys and those who are paying attention to this topic.
to Martin : thanks for reminding me of policy, i didn
s of problems on IE with local file links...
ITS A SECURITY THING.. NOT TOMCAT
regards
Johnny
- Original Message - From: "LRS" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Wednesday, April 25, 2007 3:45 AM
Subject: Re: linux + tomcat, some path/link p
file links...
ITS A SECURITY THING.. NOT TOMCAT
regards
Johnny
- Original Message -
From: "LRS" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Wednesday, April 25, 2007 3:45 AM
Subject: Re: linux + tomcat, some path/link problem
thanks men, actua
ROTECTED]>
To: "Tomcat Users List"
Sent: Tuesday, April 24, 2007 9:45 PM
Subject: Re: linux + tomcat, some path/link problem
thanks men, actually I've already tried to add " file:// " prefix
explicitly to filePath in A href link, and in mozilla I can see the
property of l
thanks men, actually I've already tried to add " file:// " prefix
explicitly to filePath in A href link, and in mozilla I can see the
property of link appear to be " file:///root/test.html " , which is a
good sign, huh? but, woo, hate this but, no matter how hard i clicked,
the browsers made no re
Ha ha boy of boy are you in for some pain... sorry cant help myself.
Well yes, you need to convert... because MS just didnt have the decency to
ask the linux guys how to do it ;)
Heres a little code for you
if(rawFileName == null) return "";
if(rawFileName.le
> From: Lu Rui [mailto:[EMAIL PROTECTED]
> Subject: linux + tomcat, some path/link problem
>
> // for winxp
> String filePath = new String("c:\\root\\test.html");
> // for linux
> String filePath = new String("/root/test.html");
>
> testlink
I have not verified the following, but this is what
I may be completely miss-understanding, but I think this is a browser trick.
At least in IE7 when I have c: it assumes file:..., but when I don't have c: it
assumes http:... . You will probably need to code file:///root/test.html (I
may have the wrong number of / after file:) to get this to wo