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

What is the use of 'bind' method in JavaScript?

0 Answers  


What are global variables in javascript?

0 Answers   UGC Corporation,


Some XYZ company is arranging for online aptitude tests. Draw detailed E-R diagram for the same..

0 Answers   QuinStreet,


if the two text boxes are there i want assign the vales like 2&3 and if i select button means i want find the sum.this is client side scripting in javascript

7 Answers   Infosys,


What is array in javascript?

0 Answers  


Auto insurance project..How to explain project in interviews.Using Automation tool (selenium).

0 Answers  


Is it possible to break javascript code into several lines?

0 Answers  


What would you use javascript for?

0 Answers  


Describe what u had done today?

0 Answers   Genpact, Sams,


What is the scope variable in javascript?

0 Answers  


What are the types of data types?

0 Answers  


What is a global variable in programming?

0 Answers  


Categories