can we create more than ServletContext and ServletConfig in
your application
Answer Posted / naresh
We can not have more than one servletContext in a web
application, but we can have more than one servletConfig
provided there is more than one servlet in the web
application...
| Is This Answer Correct ? | 10 Yes | 0 No |
Post New Answer View All Answers
Whether we can get deadlock situation in servlets?
What is the difference between sendredirect() and forward() in a servlet?
Tell the new features added in servletrequest interface i.e. Servlet 2.4
How the JSP file will be executed on the Server side?
What is the disadvantage of cookies?
Which is the methods of generated servlet?
What is the
Why do we need a constructor in a servlet if we use the init method?
What is cgi and what are its drawbacks?
How can we refresh automatically when new data has entered the database?
Explain servlet events?
What is servlet instance?
Which http method is said to be non-idempotent and idempotent?
What are the mechanisms used by a servlet container for maintaining session information?
Is servlet thread safe?