can we create more than ServletContext and ServletConfig in
your application
Answer Posted / sunstar
Servlet Context is used per Web apllication so we can't use
more than one Context,Servlet Config is per servlet or per
Jsp so you can use the more than one Config.....:-)
| Is This Answer Correct ? | 10 Yes | 0 No |
Post New Answer View All Answers
When to use doget() and when dopost()?
What is the difference between using getSession(true) and getSession(false) methods?
What are the annotations used in servlet 3?
Can you use javascript in servlets?
Difference between forward() method and sendredirect() method ?
Why servlet is used as controller ? Not JSP? I want complete explation?
What is a java servlet?
What is servlet invoker?
Is it good idea to create servlet constructor?
What do you mean by session tracking and also explain its techniques?
What is the difference between portlet and servlet?
How httpservlet is different from the genericservlet?
Explain servlet life cycle?
what is servlet chaining?
What is the difference between Servlets and Applets?