File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes Constructor 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
Bookmark "Constructor" Watch "Constructor" New topic
Author

Constructor

shruti patel
Ranch Hand

Joined: Mar 10, 2008
Posts: 52
Can we call both Constructor() and int() method in servlet?
why we go for init() why not constructor?
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

This is a fairly common question, see these threads:

http://www.coderanch.com/t/366050/Servlets/java/servlets-have-constructor
http://www.coderanch.com/t/365826/Servlets/java/called-constructor-servlet-file-If
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Constructor
 
Similar Threads
what actually constructor returns
why we cant't use constructor for initializing servlet
Constructor
Why no final constuctor
question