On Fri, 2006-09-01 at 10:39 +0200, Simon Büttner wrote: > there is no space in the url. i think httpclient has a problem with the : > after the id/38826/mmg_exvi-action Part. > > I tried the url with the standard java url.openstream and it works. but i > need to use the httpclient to have > cookie support so i have to get it figured out. >
Simon, The url is not correctly escaped. Colon (:) is a reserved character and may not be used in URLs Oleg > On 9/1/06, Doug Lochart <[EMAIL PROTECTED]> wrote: > > > > Could it be that the space needs to be protected (escaped) ? > > > > On 8/31/06, Simon Büttner <[EMAIL PROTECTED]> wrote: > > > > > > Hello , > > > I got to parse a Site with a very strange url rewriting and i always get > > > the > > > following exception when trying to call it: > > > Exception in thread "main" java.lang.IllegalArgumentException: Invalid > > uri > > > ' > > > > > > > > http://www.exporeal.net/id/38826/mmg_exvi-action:setModel/accid:15436334|language:de|page:detail/cubesig/e403769764220c2abd83120ae9f1ccbf > > > ': > > > escaped absolute path not valid > > > at org.apache.commons.httpclient.HttpMethodBase.<init>( > > > HttpMethodBase.java:219) > > > at org.apache.commons.httpclient.methods.GetMethod.<init>( > > > GetMethod.java > > > :88) > > > at spider.exporeal.HttpConnector.writeWebsiteIntoFile( > > > HttpConnector.java > > > :35) > > > at spider.exporeal.participants.ParticipantExtractor.main( > > > ParticipantExtractor.java:34) > > > > > > > > > I would be very happy for any suggestions > > > > > > > > > > > > -- > > What profits a man if he gains the whole world yet loses his soul? > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
