Is there any differance b/w getting servlet context from
servlet config and session? if yes then what is that?
Answer Posted / nisha
Servlet config is one per servlet and servlet context is one for
the whole webapplication.
Servlet config is used to pass deploy time information to servlet
where servlet context can be used to get information about the
container,server.
| Is This Answer Correct ? | 13 Yes | 4 No |
Post New Answer View All Answers
Write a hello world program using servlets.
What is the type of method for sending request from http server?
Differentiate between the get and post method
What are the different mode that servlets can be used?
When servlet is loaded?
What is the life cycle of a servlet?
What is servlet mapping?
Is servlet a controller?
Explain the custom jsp tags and the beans.
Once the destroy() method is called by the container, will the servlet be immediately destroyed? What happens to the tasks(threads) that the servlet might be executing at that time?
How to find whether a parameter exists in the request object?
Explain servlet life cycle?
What are the uses of servlets?
How we can call a jsp from the servlet?
How to upload a file to the server using servlet?