| Author |
Why the spec excluded setAttribute for ServletConfig ?
|
Arun Giridhar
Ranch Hand
Joined: Mar 10, 2012
Posts: 89
|
|
Why Servlet has excluded setAttribute for ServletConfig where i can get config object through getServletConfig() and later i can set the attribute for particular servlet at different point of time .
Thank You
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56183
|
|
|
The ServletConfig represent the configuration of the servlet from the deployment descriptor. It makes no sense at all for any type of set operation, so there aren't any. If you want to set run-time values, that's something you'd do with the ServletContext.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
 |
|
|
subject: Why the spec excluded setAttribute for ServletConfig ?
|
|
|