22 Mar
2004
22 Mar
'04
7:17 p.m.
AP Meyer wrote at 2004-3-22 11:55 +0100:
... URL control ... This still works well so far.
The problem occurs here, however, that the URL of the REQUEST object is not modified as it is when using a form. It still contains the "addItem" action and its parameters (in QUERY_STRING) instead of "listItems".
When you want to get a different URL, the easiest way is to make a new request (by redirecting rather than calling). An alternative is to use the HTML "base" tag (see the HTML specification). With a "base" tag, the URL in the browser location widget will stay as it is, but relative URLs inside the page are resolved with respect to the base tag. -- Dieter