wood burning stoves 2.0*
The moose likes Servlets and the fly likes Usage of Constructor ant Init() Method Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Reply locked New topic
Author

Usage of Constructor ant Init() Method

pradeep gamage
Ranch Hand

Joined: Aug 03, 2009
Posts: 85

What is Usage of Constructor ant Init() Method in Servlet?


Software Engineer(BSC):SCJP 1.5
(Knowledge is power when applied)
Abimaran Kugathasan
Ranch Hand

Joined: Nov 04, 2009
Posts: 2066

Constructor is there to make POJO, init() method is there to make servlet from POJO!


|BSc in Electronic Eng| |SCJP 6.0 91%| |SCWCD 5 92%|
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60800
    
  65

Please SearchFirst. This topic has been covered dozens of times in this forum.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Usage of Constructor ant Init() Method
 
Similar Threads
Basic question on JUnit Test Suite
to Marlene
Servlet Runtime Exception
How to find if the servlet is newly created or it was already existing
can init() be replaced in servlet?