| Author |
what is the use of application variable
|
rick collette
Ranch Hand
Joined: Mar 22, 2002
Posts: 208
|
|
In Marty's coreservelets book, it is said: application variable is the ServletContext as obtained via getServletConfig().getContext(). I checked the documentation, and did not find this variable under ServletConfig. Could any1 shed some light on it? Thanks.
|
 |
Goan Balchao
Ranch Hand
Joined: Mar 25, 2002
Posts: 93
|
|
Hi, application is an implicit variable provided by the JSP container for eveyru JSP Page. It represents the javax.servlet.ServletContext object. This implicit variable is declared and initialized automatically by the conatiner in the JSP page implementation class. Hope this helps.
|
Hemant Kamat<br />SCJP2<br />SCWCD<br />SCBCD<br />SCEA-I
|
 |
 |
|
|
subject: what is the use of application variable
|
|
|