This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Java in General and the fly likes Servlets and ServletConfig problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Servlets and ServletConfig problem" Watch "Servlets and ServletConfig problem" New topic
Author

Servlets and ServletConfig problem

itamar lev
Greenhorn

Joined: Feb 21, 2005
Posts: 4
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
 
subject: Servlets and ServletConfig problem
 
Similar Threads
Dbt on getServletConfig()
Servlets and ServletConfig problem
Purpose of ServletConfig??
init method of servlets
javax.servlet.ServletConfig Problem