How to pass a requrest object of one servlet as a request
object to another servlet?
Answer Posted / priya
in an any web application when we have to pass object from
one servlet to another then we use request dispatcher.the
request dispatcher is used by using request.setAttribute
("key",value) in the first servlet and request.getAttribute
("key")in the second servlet.
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
When should you prefer to use doget() over dopost()?
how the HTML data stored in web server?
How is the get () method different from the post() method?
what is the different between a servlet and a cgi? Why do you go for servlet rather than cgi?
What is generic servlet class?
What is the difference between genericservlet and httpservlet
Explain the steps involved in placing a servlet within a package?
What exactly are the functions of servlet?
How do you deal property files in servlet?
What is meant by a servlet?
What is a servlet-to-servlet communcation?
Elucidate servlet attributes and its scope?
why we should override only no-agrs init() method.
What are the steps involved in placing a servlet within a package?
What is meant by Servlet? What are the parameters of service method?