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

can wwe trace a java program (class)

0 Answers   CMC,


What is "strict mode" and how is it used in JavaScript?

0 Answers  


What is event bubbling and capturing in javascript?

0 Answers  


What is meant by vanilla javascript?

0 Answers  


what is the purpose of using jsp?

1 Answers  


How javascript variables work?

0 Answers  


How to get the primitive value of a string in Javascript?

0 Answers  


What is a boolean in javascript?

0 Answers  


Can I declare a variable as CONSTANT in JavaScript?

0 Answers  


Explain the typeof operator?

0 Answers  


Is javascript frontend or backend?

0 Answers  


Are there any predefined constant provided by the browser with the key code values that can be reused?

0 Answers  


Categories