what is the source code for sendRedirect method()java
Servlet program?
Answer / sunny
first,u have to use sendRedirect in form of JSP browserside.
<form method="POST"
action="/SendRedirect/SendRedirectServlet">
second in SendRedirectServlet, u have giving a response to
browser side
response.sendRedirect("/SendRedirect/ValidUserServlet");
it makes a request to one resource in server.
in server, gives response to browser. session is lost at a
time.
| Is This Answer Correct ? | 5 Yes | 2 No |
How are tag positions used in javascript?
What is console.log()?
How to use one javascript function for multiple input fields?
How we can get the value of an element using javascript?
How to get checkbox status whether it is checked or not?
How to getting values from cookies to set widgets?
What is the use of a boolean object in javascript?
How to write normal text code using JavaScript dynamically?
Which built-in method returns the length of the string?
What is new keyword in javascript?
How to handle event handlers?
How do I enable javascript on google?