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..........
Regards, Amit
[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.
Dave
Amit Das
Ranch Hand
Joined: Mar 05, 2005
Posts: 206
posted
0
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...