This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I know that when the Server receives a request for the first time, it calls init(ServletConfig), where the Servlet Container passes the object of ServletConfig to the servlet in consideration. My question is where can i find the implementation for the object of ServletConfig which is provided by the Servlet Container???
Plz let me know ASAP..........
[cleaned up the topic - Dave]
[ July 19, 2006: Message edited by: David O'Meara ] [ July 19, 2006: Message edited by: Bear Bibeault ]
So many stars, question marks and full stops? Please EaseUp.
A Servlet Context is an interface, but you can always find the concrete type from an instance using getClass(). THis will change depending on your server, but should get you started.
Joined: Mar 05, 2005
thanks David for ease up as well
ServletConfig's reference.getClass() will gimme the Class object for ServletConfig....right.... But i need to see the source code, i.e. say Tomcat's servlet containers implemetation for it....hope u got my point...