Path: csiph.com!news.swapon.de!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: Andreas Leitgeb Newsgroups: comp.lang.java.programmer Subject: Re: BasicService.showDocument(...) returns false Date: Wed, 22 Nov 2017 16:53:22 -0000 (UTC) Organization: A noiseless patient Spider Lines: 13 Message-ID: References: Reply-To: avl@logic.at Injection-Date: Wed, 22 Nov 2017 16:53:22 -0000 (UTC) Injection-Info: reader02.eternal-september.org; posting-host="0f10354395efda6bb2e96e76beebfad0"; logging-data="11447"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+87KW2lGQnAwI0PP8u3w7K" User-Agent: slrn/1.0.2 (Linux) Cancel-Lock: sha1:HErGxUNvBHqev3cPb8tnLC0Dfd4= Xref: csiph.com comp.lang.java.programmer:37694 Andreas Leitgeb wrote: > On client's machines, the method BasicService.showDocument(java.net.URL) > returns false (and shows no effect at all), while on our own machines it > returns true (and does open the requested page). Found the solution... The URL on client's machines contained a tilde (~) character, that we just needed to replace by %7E. The url we tried "at home" did not have a tilde-char, thus it worked right-away. Apparently, the venerable Java 6 didn't yet care about it, but Java 8 does.