what is the source code for sendRedirect method()java
Servlet program?
Answer Posted / 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 |
Post New Answer View All Answers
Example of using regular expressions for syntax checking in javascript?
What is a closure javascript? Explain
How do I turn on javascript on my phone?
What is prototype in javascript and how do you use it?
What is the use of a map object in javascript?
How to write comment in JavaScript?
When would you use var in your declaration and when you wouldn’t?
What is innertext javascript?
What is the difference between ‘function declaration’ and ‘function expression’?
How to show progress bar while loading using ajax call?
What is null variable?
What are the main uses of javascript?
Is a parabola a function?
Text from your clipboard?
Have you used any browser for debugging? If yes, how is it done?