This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Servlet Object in Servlet Class

 
somasundar venkatesh
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13074
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Abhay Agarwal
Ranch Hand
Posts: 1376
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As per J2EE specifications, servlet object creation should be managed by web container itself.

Any specific reason you want to access Servlet object ?

~ abhay


 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic