can we create more than ServletContext and ServletConfig in
your application
Answer Posted / ravi ranjan kumar rajnish
No, In case of ServletContext Bcoz there is one
ServletContext is for one for whole application.
But yes in case of ServletConfig, bcoz servletconfig is
servlet specific so it can more than one
Is This Answer Correct ? | 9 Yes | 4 No |
Post New Answer View All Answers
Tell the new features added in servletrequest interface i.e. Servlet 2.4
What are the advantages of servlets over traditional cgi?
Can we refresh servlet in client and server side automatically?
What is the requirement of servlet config and servlet context implemented and how are they implemented?
Define servlet mapping?
Explain the difference between get and post method in servlet?
Who is responsible for writing a constructor?
How do you find out what client machine is making a request to your servlet
What is called a session?
What are the steps that are required to handle the multi-threading?
What is the life cycle of a servlet?
What exactly are the functions of servlet?
How do you design microservices?
What are the jobs performed by servlets?
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