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 can a value be appended to an array?
How to convert numbers to strings using javascript?
Why is object naming important to use in javascript?
What is NaN in Javascript?
Explain “use strict” ?
How do you add an element at the end of an array?
How much does a javascript developer make?
What is purpose of onerror event handler in javascript?
Why javascript is not secure?
What is object freeze?
What is push() method in javascript?
How to delete a cookie using javascript?