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


Please Help Members By Posting Answers For Below Questions

What is war file?

761


What are different ways for servlet authentication?

753


What are the uses of servlets?

784


How do I use cookies to store session state on the client?

712


What exactly is a servlet?

696


How do you invoke a servelt?

810


What do you understand by mime type?

775


Define the lifecycle for executing a jsp page.

804


What are the types of servlet?

877


How to generate the server side programming and the advantages of it over the other languages?

757


What is cgi and what are its drawbacks?

724


What are the phases of servlet life cycle?

786


If my browser does not support cookie, and my server sends a cookie instance what will happen?

821


Explain the custom jsp tags and the beans.

781


What do you mean by session tracking?

890