Apparently it's a tough problem on windows xp, launching a browser pointing to a local file, but using an anchor #. e.g. "file://c:\help.html#item3"
It seems that windows is stripping off the anchor, and only loading the "file://c:\help.html" in the browser. I've been googling this for a long time, and all I could find was a fix that only worked with IE. :(
It sounds like the best solution is to actually point at the executable when making the calls instead of relying on windows to route to route the call. I've been thinking about doing this since Opera and KMellon are not being found with the current mechanism.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Browser launcher seems to be dropping the #named_anchor suffix from the URL string, anybody got any clues or experience with this?
For example: if I have the URL string:
"http://localhost/test_file.html#my_topic"
then what is displayed in my browser is just:
"http://localhost/test_file.html"
After further experimentation, I have found that this problem exists with the "file:/..." protocol, not "http://..."
On which platform are you running browserlauncher?
Thanks,
Jeff
Apparently it's a tough problem on windows xp, launching a browser pointing to a local file, but using an anchor #. e.g. "file://c:\help.html#item3"
It seems that windows is stripping off the anchor, and only loading the "file://c:\help.html" in the browser. I've been googling this for a long time, and all I could find was a fix that only worked with IE. :(
One source about this I found was:
http://forum.java.sun.com/thread.jspa?threadID=233882&messageID=841244
Another:
http://groups.google.com/group/alt.msdos.batch.nt/browse_thread/thread/12e86fcdc2a000a2/b86b3dd4e7cd7006%23b86b3dd4e7cd7006
Anyway, if you people could figure out a work-around, that would be marvelous...
It sounds like the best solution is to actually point at the executable when making the calls instead of relying on windows to route to route the call. I've been thinking about doing this since Opera and KMellon are not being found with the current mechanism.