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 to accessing elements using javascript?
How do you round a value in javascript?
Explain the difference between call() and apply()?
What is triple dot in javascript?
how to hide alphabets in java as password '*'
What is the use of a form in html page? Is there any way to submit the page without using the form.
How and where javascript namespacing is used?
Which keyword is used to print the text in the screen?
How to make a function in javascript?
what does javascript null mean?
discuss scoping in javascript?
What is output of “20” + 20? In javascript?