• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

init() and service() in HttpServlet and GenericServlet()

 
S Majumder
Ranch Hand
Posts: 349
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everybody I have a query about init() and service().
Can I overwrite the init() and service() when I am using HttpServlet ?
Can I overwrite the init() and service() when I am using GenericServlet ?

thanks & regards,
S
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65335
97
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's Java. What's your answer?
 
S Majumder
Ranch Hand
Posts: 349
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you please give some explanation

regrds,
S
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65335
97
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What do you think will happen according to the rules of Java?
 
S Majumder
Ranch Hand
Posts: 349
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I thik overright will happen
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic