Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


what is the source code for sendRedirect method()java
Servlet program?



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

Post New Answer

More JavaScript Interview Questions

How are tag positions used in javascript?

0 Answers  


What is console.log()?

0 Answers  


How to use one javascript function for multiple input fields?

0 Answers  


How we can get the value of an element using javascript?

0 Answers  


How to get checkbox status whether it is checked or not?

0 Answers  


How to getting values from cookies to set widgets?

0 Answers  


What is the use of a boolean object in javascript?

0 Answers  


How to write normal text code using JavaScript dynamically?

0 Answers  


Which built-in method returns the length of the string?

0 Answers  


What is new keyword in javascript?

0 Answers  


How to handle event handlers?

0 Answers  


How do I enable javascript on google?

0 Answers  


Categories