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
List some design patterns in javascript?
Difference between '=', '==' and '===' operators?
How to get value from radiobuttonlist control?
How can a Javascript code redirect the user to a different page?
What is the difference between write and writeln in javascript?
What is external javascript?
Is Exception handling possible in Javascript?
What does window.print() do in Javascript?
What are the difference between javascript and jquery?
a code in vb script, which creates a table of 5*2 in html this is a static table, one more same dynamic table, as we give input the table should get created.
What is a fixed-width table and its advantages?
What is are the types of the pop up box es available in javascript?
Why do we need javascript?
What is camelcase in programming?
How can you create an Object in JavaScript?