Answer Posted / tulasi vani
Servlets communicate with each other with the help of
RequestDispatcher objects.
RequestDispatcher rd=getServletConfig().getNamedDispatcher
(...);
... name used to identify a servlet i.e. name given in the
web.xml in the url-pattern
| Is This Answer Correct ? | 17 Yes | 1 No |
Post New Answer View All Answers
What is url encoding and url decoding
Which httpsession object is used to view and manipulate information about a session?
What is the difference between the getrequestdispatcher(string path) method of javax.servlet.servletrequest interface and javax.servlet.servletcontext interface?
Can you use javascript in servlets?
What do you mean by scope object and what are its types?
What’s the difference between genericservlet and httpservlet?
How do cookies work in servlets?
Which protocol will be used by browser and servlet to communicate
Tell the new features added in servletrequest interface i.e. Servlet 2.4
Is it good idea to create servlet constructor?
What is called a session?
Write a hello world program using servlets.
What do you mean by interservlet communication?
What is the difference between jsp and servlet life cycle?
Explain web application directory arrangement?