Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

constructor for a servlet  RSS feed

 
Kondapally Ashwin
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can we define a constructor for a HttpServlet class?
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is one of our most frequently asked questions so you can either look in our Servlets FAQ:
http://faq.javaranch.com/search?ServletsFaq
where this is covered OR use our search tool to search this forum with the keyword "constructor".

Either way, you'll get your answer very quickly.
 
Joe Harry
Ranch Hand
Posts: 10128
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think you should use the container provided one.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!