What is servlet attributes and their scope?



What is servlet attributes and their scope?..

Answer / Mohd.islam

Servlet Attributes are data structures associated with a Servlet object to store information that needs to be accessed by multiple methods within the same servlet or across multiple servlets. The scope of these attributes can be: Request Scope, Session Scope, Application Scope.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Servlets Interview Questions

Write all the phases defined in servlet life cycle?

1 Answers  


can i call init() method in destroy() method of servlset. ?

5 Answers   IBM,


How can the referrer and the target urls be used in servlet?

1 Answers  


What is ServletContext object?

1 Answers  


What is servlet tunnelling?

1 Answers  


How do you deal property files in servlet?

1 Answers  


Why is a constructor needed in a servlet even if we use the init method?

1 Answers  


What is a generic servlet?

1 Answers  


What are cookies and how will you use them?

2 Answers  


What are the types of protocols supported by httpservlet ?

1 Answers  


I Have A Plan to develop a Project in Struts,I want the template of struts project with Hibernate.Canany body provide me the required information?

1 Answers   IBM,


What are the phases of a servlet life cycle?

1 Answers  


Categories