Bookmark Topic Watch Topic
  • New Topic

please help eveyone!!! Mr. moderator

asheet anand
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
  • Report post to moderator
hi frank,
thanks for your reply.i will also take care now in lower-upper
case in java.
now,what i have understood in "super.init(ServletConfig s1)"
is that if you give this method in a sub-class of Generic
class than s1 is stored as a refrence in generic class.this s1
contains all the initializaton parameters and also
ServletContext() object.
super.init() is a must because getServletConfig() method returns the same ServletConfig object,which we have passed through the
init() method of the subclass.
please explain to me how ServletContext() palys a role in this
how a method like getInitParameter() which is called with a
ServletConfig Reference is called on its own after this(
super.init()) method.
is this because now the getInitParameter() on its own find out
that there is a ServletConfig() refrence passed to the Generic
class or it is a method that can be called on itself().
i hope i am clear this time.please explain to me ,if possible
in steps ,how this works.
i will be highly obliged.
thanking you,
Frank Carver
Posts: 6920
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please don't re-post the same message more than once. I have replied in the following thread: . All followup to that thread.
    Bookmark Topic Watch Topic
  • New Topic