what is the diff between Servletcontext and servletconfig?

Answer Posted / monisha

ServletContext is created only once in a whole application
whereas servletConfig is created for each servlet in an
application.

Is This Answer Correct ?    13 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between JDBC 1.0 and JDBC 2.0?

2799


What is the difference between checked exception and unchecked exception?

615


Hi friends am new to java. I read jar file means collection of java files. For executing struts application what are the necessary jar files. " struts.jar " file contains what. can u explain

1548


How to perform merge sort in java?

680


How many types of the indexof method are there for strings?

584






How do you replace all in word?

612


What is not thread safe?

613


Is java an ide?

615


Explain about member inner classes?

703


what is the purpose of the runtime class?

658


When do we use hashset over treeset?

619


Explain what is Marker interface?

699


What are thread local variables?

656


What do bitwise operators do?

622


What are the methods used to implement for the key object in the hash map?

658