Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

writing own constructor for servlet

 
thilakk kumar
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can we write our own constructor for a servlet
 
Mateus Brum
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can use public void init(){} to override de Servlet constructor.
[ February 20, 2008: Message edited by: Mateus Brum ]
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please refer to this FAQ.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic