To support clients without redirect capability, HttpServletRsponse.sendRedirect() method writes a short response body that
"contains a hyperlink to the new location"
Is this valid, cos i dont see anything like this in the API, and "clients without redirect capability?" meaning browsers which dont support redirect??
I dont think it is correct.
sendRedirect() does let the client notice the redirection of Http request. It sends the signal to the browser and ask the browser to send another URL to access the needed resource.
In order to make redirection transparent to the client, you need to use RequestDispatcher.forward(). Please read the APIs for detals.
Nick
SCJP 1.2, OCP 9i DBA, SCWCD 1.3, SCJP 1.4 (SAI), SCJD 1.4, SCWCD 1.4 (Beta), ICED (IBM 287, IBM 484, IBM 486), SCMAD 1.0 (Beta), SCBCD 1.3, ICSD (IBM 288), ICDBA (IBM 700, IBM 701), SCDJWS, ICSD (IBM 348), OCP 10g DBA (Beta), SCJP 5.0 (Beta), SCJA 1.0 (Beta), MCP(70-270), SCBCD 5.0 (Beta), SCJP 6.0, SCEA for JEE5 (in progress)