• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

servlet config

 
Mahender allam
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what is servletcong &servlet context?
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64833
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is no such thing as a servletcong. For other classes please reference the API documentation for the respective classes.
 
Muhammad Saifuddin
Ranch Hand
Posts: 1324
Android Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
see Servlets FAQ definitely give you some idea on it.
 
NareshA WaswaniA
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ServletCongig object is per servlet or jsp which contains specifiv information about that servlet or jsp. you can pass this information in the web.xml file's <init-param> tag of the <servlet-tag>.

ServletContext object for the application per JVM. You can pass input to this object from the web.xml file using the <context-param> in the <web-app> tag. This object can be accessed by all the web components as it is one per JVM.

ServletConfig object of one servlet or jsp can not be accessed by other web component.

Any more doubts.
+91-9986461501
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic