InterviewSolution
| 1. |
How Do I Perform Browser Redirection From A Jsp Page? |
|
Answer» You can use the response implicit object to redirect the BROWSER to a different RESOURCE, as: response. send Redirect ; You can also physically alter the LOCATION HTTP header attribute, as shown below: You can also use the: Also note that you can only use this before any output has been SENT to the client. I beleve this is the case with the response.sendRedirect() method as WELL. If you want to pass any paramateres then you can pass using. You can use the response implicit object to redirect the browser to a different resource, as: response. send Redirect ; You can also physically alter the Location HTTP header attribute, as shown below: You can also use the: Also note that you can only use this before any output has been sent to the client. I beleve this is the case with the response.sendRedirect() method as well. If you want to pass any paramateres then you can pass using. |
|