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 |
What is the use of javascript?
How onclick works in javascript?
What is nodetype in javascript?
why jsp
What is a hash javascript?
Javascript, Pass by Value or Pass by Reference?
What is the disadvantage of using innerhtml in javascript?
How do I get javascript?
WHAT IS DIFFERENT BETWEEN CORE JAVA AND ADVANCED JAVA?
How to modify the url of the page without reloading the page?
what difference between args.length and args.length() in command line argument?
Should I learn java first or javascript?