Home Discussion Discuss: setInitParameter() Method Example

  • Servlets Init parametersishanbhatt March 24, 2012 at 11:47 PM

    Sir, in the same example how to add more than one init parameters??

  • setInitParameter()sheetal bagi December 27, 2012 at 7:17 PM

    i am not able to import these files. i am getiing error saying these files cannot be resolved. import javax.servlet.annotation.WebServlet; import javax.servlet.annotation.WebInitParam; context.setInitParameter("firstName", "Bipul"); for this it says that setInitParameter is undefined for type ServletContext

Post your Comment

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