| Author |
how to get values in "init-param"?
|
Hue Cheng
Greenhorn
Joined: Aug 15, 2003
Posts: 8
|
|
For <context-params>, I know it's using context.getInitParameter() But for <servlet><init-param> Is it using request.getParameter? Thanks in advance!!
|
 |
Detlev Beutner
Ranch Hand
Joined: Jul 13, 2001
Posts: 76
|
|
Hello Hue Cheng, it's getInitParameter() on the ServletConfig object (retrievable via getServletConfig()). Hope it helps Detlev
|
 |
Hue Cheng
Greenhorn
Joined: Aug 15, 2003
Posts: 8
|
|
so are you meanig that both <init-param> and <context-params> are retrivable via request.getInitParameter? Thank you very much.
|
 |
 |
|
|
subject: how to get values in "init-param"?
|
|
|