• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Servlet API methods

 
Harshana Dias
Ranch Hand
Posts: 348
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey,

For the exam what methods should we need to know in the Key API interfaces and classes for Servlets API

eg: In <Servlet> , GenericServlet, <ServletRequest>, <ServletResponse>, <HttpServletRequest>, <HttpServletResponse>


In HFSJ 1.5 page 98 and 106 for example declare some methods..but no need to remember all those right?

Thank You.

 
Sebastian Janisch
Ranch Hand
Posts: 1183
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry to disappoint you, but you are better off knowing which methods originate from which Interface or Concrete class respectively. Some questions may actually test your knowledge on it.
 
Harshana Dias
Ranch Hand
Posts: 348
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sebastian Janisch wrote:Sorry to disappoint you, but you are better off knowing which methods originate from which Interface or Concrete class respectively. Some questions may actually test your knowledge on it.


mmm i thought some bolded methods on those interfaces
 
Nishan Patel
Ranch Hand
Posts: 689
Eclipse IDE Java Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hi Harshana,

They have written no need to remember. But you have to understand concept what <Servlet> , GenericServlet, <ServletRequest>, <ServletResponse>, <HttpServletRequest>, <HttpServletResponse> gives you and first you remember concept it will automatically get idea.

Like this all class provide you basic concept of servlet. Like GenericServlet and HttpServlet is abstract class and they implemented basic method. Which method you can override at your servlet and which one not. Why... so chill just understand concept...

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic