• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Access specifier

 
Akshay Singhvi
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Ranchers,

What is the accesss specifier of the doGet and doPost method in javax.servlet.HttpServlet class.I don't have reference to java docs to see.
 
Shivani Chandna
Ranch Hand
Posts: 380
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Its protected, but you can override it to public as well.

Rgds
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic