i think the output of console is wrong and it should appear:
counter= 1 name= employee value= model.Employee@b3cac9 // because of the setAttribute() in EmployeeListener
Attriburte Removed // because of submit from html
counter= 0 name= employee value= model.Employee@b3cac9 // because of removeAttribute in FirstServlet
1.what are these other attributes in the output ?
2.why is output different when run on tomcat 5 and tomcat 6 ?
Attributes are objects associated with a request. Attributes may be set by the
container to express information that otherwise could not be expressed via the API,
or may be set by a servlet to communicate information to another servlet (via the
Name of attribute: org.apache.AnnotationProcessor.
ContextAttributeTracker before adding employee lines twice in the console output ?