• Post Reply Bookmark Topic Watch Topic
  • New Topic

JWebPlus:Question ID :1000050456410

 
Vikrama Sanjeeva
Ranch Hand
Posts: 760
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Question ID :1000050456410
Consider the following code:
public class WWServlet extends HttpServlet
{
....
}
What methods do you need to implement so that it compiles ok?
ANS:NO method as HttpServlet has dummy implementation.
Then why some resourses says that any one of the doXXX() MUST BE IMPLEMENT.
Bye.
Viki.
 
BJ Grau
Ranch Hand
Posts: 234
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Even though the servlet is useless without one of the doXXX methods being implemented, the question only asks about it compiling, and it will compile OK.
 
It's weird that we cook bacon and bake cookies. Eat this tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!