Hi,
Suppose I have a class whose constructor is private and I get an instance of it using getInstance() method, which ensures that only one object of that class exists. Now I want the object of this class to be accessed in
jsp.
Now I know in jsp, we can use jsp:useBean to get an instance of class and I believe, this expects a public constructor to be available. But If I have a class like above and I want to have an object instantiated in jsp, so that I can invoke some non-static methods, how do I do that? First of all, is it possible ?