- From: Carsten Leue <CLEUE@de.ibm.com>
- Date: Wed, 2 Jul 2003 11:00:39 +0200
- To: www-talk@w3.org
I would like to send an HTTP request to a servlet (portal server) that results in a state transition of this servlet. Say the URL of this request is "http://myserver.com/servlet?transition". The request returns the content of the new state that is now represented by a new URL " http://myserver.com/servlet?state". If the servlet returns with a 200 return code, the content is displayed and the transition URL is displayed in the browser's location bar. A refresh would thus result in reinitiating the state transition. Is it possible to tell the browser to direct refreshes and invocations of the back/forward button to the state-URL instead of the transition URL within one roundtrip? I could return a redirect, but this results in a second round trip which causes peformance problems. I tried the return code 201 with a location header field that points to the state URL, but this does not seem to work. Any suggestions or guidance? The solution should be browser type independent. Thank you very much for your help. Best regards Carsten Leue ------- Dr. Carsten Leue
Received on Wednesday, 2 July 2003 05:30:58 UTC