can we create more than ServletContext and ServletConfig in
your application
Answer Posted / narendhersharma
ServletContext which is managed by webcontainer, For the
whole web application only one servletcontext will be
there...
In ServletConfig , this is also managed by webcontainer,
for every request object one servletconfig object will be
there..
| Is This Answer Correct ? | 19 Yes | 4 No |
Post New Answer View All Answers
What is war file?
Explain get and post.
What is lazy loading and what is Generic Servlet Class?
If a servlet is not properly initialized, what exception may be thrown?
Which is the methods of generated servlet?
What do you mean by a filter and how does it work?
Tell us something about servletconfig interface.
How can we refresh automatically when new data is entered into the database?
What is the difference between CGI and Servlet?
Given the request path below, which are context path, servlet path and path info?
What is the use of welcome-file-list?
How can you create a session in servlet?
hi actully i hav form columns with origin and destination names .as like as i need to create one more column with name amount. my requirement is when i select origin and destination columns automatically i need to get amount from database.how can i. please tel me with relative code
What is the difference between the servlets and cgi programs?
Explain the difference between generic servlet and http servlet?