TCCI-Tririd Computer Coaching Institute is focused on providing Quality education with practical sessions.Satisfaction of our student is our priority. We pride ourselves for providing proficient IT solutions. We have a highly qualificated and expereinced faculties, who, not only handle teaching, but also aspire to provide the best possible solution through their technical expertise.
Showing posts with label Object Oriented Concepts. Show all posts
Showing posts with label Object Oriented Concepts. Show all posts
Saturday, February 23, 2019
Wednesday, February 20, 2019
Tuesday, February 19, 2019
What is difference between servletconfig and servletcontext? tccicomputercoaching.com
Purpose:
The ServletConfig parameters are specified for a particular servlet and are unknown to other servlets. It is used for intializing purposes.The ServletContext parameters are specified for an entire application outside of any particular servlet and are available to all the servlets within that application. It is application scoped and thus globally accessible across the pages.
No. of Object:
There is one ServletConfig parameter per servlet.There is one ServletContext for the entire webapp and all the servlets in a webapp share it.
When created?
Object ofServletConfig will be created during initialization
process of the servlet.
Object of
ServletContext will be created at the time of web
application deployment.
Scope:
As long as a servlet is executing,ServletConfig object will
be available, it will be destroyed once the servlet execution is completed.
As long as web application is executing,
ServletContext object
will be available, and it will be destroyed once the application is removed
from the server.
Availabiltity:
We should give request explicitly, in order to createServletConfig object for the first time.
ServletContext
object will be available even before giving the first request
Appearance in Web-xml
In web.xml –<init-param> tag will be appear under <servlet-class> tag.
In
web.xml – <context-param> tag will be
appear under <web-app> tag.
If you like this post then share and like the post.
For more information about Programming concepts , Java Programming , Object Oriented concepts , Computer coaching
Call us @ 9825618292
Visit us @ http://tccicomputercoaching.com/blog/
Monday, February 18, 2019
What is container in java? tccicomputercoaching.com
A container is responsible to displaying the components
according to your layout. In
Java
Swing, a lot of components can be a container.
A Container is a subclass of Component which can contain other components and containers. Frame, Panel and Applet are subclasses of Container. A Container helps to create groupings of objects on the screen.
A web container is responsible for managing the lifecycle of servlets, mapping a URL to a particular servlet and ensuring that the URL requester has the correct access-rights. A web container handles requests to servlets, Java Server Pages (JSP) files, and other types of files that include server-side code.
To know more about Programming Language, Advance Java, Object Oriented Concepts, Computer Engineering course, Project Training
Call us @ 9825618292
Visit us @ www.tccicomputercoaching.com
A Container is a subclass of Component which can contain other components and containers. Frame, Panel and Applet are subclasses of Container. A Container helps to create groupings of objects on the screen.
A web container is responsible for managing the lifecycle of servlets, mapping a URL to a particular servlet and ensuring that the URL requester has the correct access-rights. A web container handles requests to servlets, Java Server Pages (JSP) files, and other types of files that include server-side code.
To know more about Programming Language, Advance Java, Object Oriented Concepts, Computer Engineering course, Project Training
Call us @ 9825618292
Visit us @ www.tccicomputercoaching.com
Subscribe to:
Posts (Atom)

