• +91 9723535972
  • info@interviewmaterial.com

Servlet Interview Questions and Answers

Question - Can we fetch the attributes related to a servlet on a different servlet?

Answer -

The attributes of another servlet that we are looking for can be accessed by using its name. The syntax is described as follows:

  • Context.setAttribute (“name”,” value”)
  • Context.getAttribute (“name”)

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners