Wouldn't a '+' be simpler? On 4 Feb 2003 at 11:06, Tom Wiedenh�ft wrote:
> Hallo! > > I'm using code of JMeter and I'm quite sure, that URL's with blanks " " in > Http Request won't work. > > This line of code will fix it. > > //---schnipp-------------------- > Sting url = "http://www.myserver.net/my dir/myf ile.htm"; > url = url.replaceAll("\\p{Blank}", "%20"); > URL u = new URL(url); > ...and so on. > //---schnapp-------------------- > > (If "$" and "\" are in the text (here "String url") an exception is thrown. > Ok,..) > > I hope this comment will be usefull. > > Tom > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > -- Michael Stover [EMAIL PROTECTED] Yahoo IM: mstover_ya ICQ: 152975688 AIM: mstover777 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
