• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Servlets and ServletConfig problem

 
itamar lev
Greenhorn
Posts: 4
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I tried working with Servlets ServletConfig. As I understood the GenericServlet
gets the parameters automatically and using getServletConfig() brings the config.
Now I have a servlet that extends from HttpServlet.
in it I have the init() method and in this method I call the getServletConfig() but I get
a ServletConfig instance with no parameters !!!
What am I doing wrong ?
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic