ToWP: Absolute and relative paths in URL

| WebCab.de | ToWP | Next |

It could happen that a WAP device or gateway could not correctly interpret a relative path as URL. In order to avoid this problem you should always use absolute paths.

The Nokia 7110 has at least in the software versions 4.67, 4.70 and 4.73 the difficulty to interpret a WML deck containing more than 10 or 12 complete URL like http://my.server.com/foo/bar.wml. We have found the solution to use only absolute paths like /foo/bar.wml.

NO:

<a href="../foo/bar.wml">
<a href="#myID">
<a href="http://my.server.com/foo/bar.wml">

YES:

<a href="/foo/bar.wml">
<a href="/foo/bar.wml#myID">

| WebCab.de | ToWP | Next |

© 2000 WebCab.de Contact