cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with linkToURL

Former Member
0 Kudos

Hi people.

I`m developing a Web Dynpro for Java. I have problems with the component linkToURL component.

The server sent me this exception:

com.sap.tc.webdynpro.services.exceptions.InvalidUrlRuntimeException: Invalid URL=http://plngdev:56000/irj/go/km/docs/documents/Legal/C000000139-FINAL/T000000070-CIVIL-ABSTENERSE DE REALIZAR CUALQUIER ACTO QUE IMPLIQUE AFECTACION DE SERVIDUMBRES/OCURRENCIAS-ANTECEDENTES/page.htm

I don't know what the problem is?.

May be the URL should be with scape characters for blank and specialsspaces?.

Regards in advanced.

Manuel

Living La Vida JAVA

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

This URL is not properly escaped.

Armin

Answers (1)

Answers (1)

Former Member
0 Kudos

The problem was solved with the replacement of the blank spaces with underscore character. Also I have used the static method encode on java.net.URLEncoder class.

Thanks.