| Author |
Servlet Object in Servlet Class
|
somasundar venkatesh
Greenhorn
Joined: Mar 01, 2011
Posts: 14
|
|
Hi All,
Can we access or get Servlet object in Servlet Class. If so, then what type and how we can perform operations on that object.
Thanks,
Somu
|
 |
William Brogden
Author and all-around good cowpoke
Rancher
Joined: Mar 22, 2000
Posts: 12268
|
|
Servlet objects are created and managed by a servlet container such as Tomcat.
Directing a request to the appropriate servlet is handled by the servlet container also.
Bill
|
Java Resources at www.wbrogden.com
|
 |
Abhay Agarwal
Ranch Hand
Joined: Feb 29, 2008
Posts: 693
|
|
As per J2EE specifications, servlet object creation should be managed by web container itself.
Any specific reason you want to access Servlet object ?
~ abhay
|
Oracle certified Java 7 Programmer, SCJA 1.0, SCJP 5.0, SCWCD 5.0, Oracle SQL Fundamentals I
|
 |
 |
|
|
subject: Servlet Object in Servlet Class
|
|
|