Home Discussion Discuss: Counter in Init() Method

  • "initial" value is not defind in the web.xmlsiva June 20, 2011 at 3:47 PM

    In the above example there is no value for the "initial" in the web.xml file. Without defining the value in the web.xml how can we retrive in the serlets.

  • Init Param not given in the web.xml fileAddy January 25, 2012 at 5:12 PM

    The "initial" parameter which ought have been defined in the web.xml file has not been included. Please edit and rectify that. In the <servlet><servlet> tag we can add: <init-param> <param-name>initial</param-name> <param-value>19</param-value> </init-param>

  • Wrong exampleravi parekh May 21, 2012 at 6:05 PM

    Where do "initial" come from ? "initial" have to be declared in web.xml config.getInitParameter("initial");

Post your Comment



Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 
Related Articles
DMCA.com