ServletConfig and ServletContext

Published: 30 July 2021
on channel: AndroJava Tech4U
1,053
21

#androjavatech4u
Practical implementation of ServletConfig and ServletContext

They both are interface.
ServletConfig and ServletContext both are used to get initial value of servlet or an application.
The values are stored in key value pair.
context-param and context-name tags are used to store the values.
In ServletContext values are shared by all the servlets
Whereas in ServletConfig values each servlet can have independent values.

In this video we will see :
Example of ServletConfig and ServletContext
web.xml
context param tag
context name tag
Using servlet context
creating object of servlet context
Fetching value using servlet context object
getInitParameter to fetch value
Using servlet config
create servlet level value
create object of servlet config
fetching value through servlet config object


►Android ROOM Database Tutorial | Introduction to ROOM. Jetpack Tutorials | Android Architecture
   • #1 Android ROOM Database Tutorial | I...  

►Selenium Tutorial For Beginners | Selenium Full Course | Selenium Webdriver Tutorial In Hindi
   • #1 What is Software Testing -A career...  

►Spring Boot Tutorial | Full Course In Hindi | Java Spring boot Framework
   • #1 Introduction to Spring boot | Why ...  

►Full Java Online Training Session In Hindi 2019-2020
   • Core Java Online Training Session 01 ...  

►Struts 2 Tutorials In Hindi
   • Struts tutorials in Hindi | Model-0,M...  

►Java Hibernate(ORM) Tutorials In Hindi/URDU
   • Hibernate Tutorial 01 | Introduction ...  

►Spring Tutorials In Hindi & Urdu
   • Spring Introduction In Hindi #1  

►Android App Development
   • Android Studio Tutorial in Hindi #1  

►OOPS Interview Questions-
   • Java Interview Questions and Answers ...  

►Advance Java JEE
   • Java Collections | Collections Framew...  

►Design Patterns In Java
   • Design Patterns In Java |  Design Pat...  

Stay tuned with me for more upcoming Videos,
don't forget to subscribe my YouTube Channel and share your valuable comments in Comment section down below, i'll be happy t o help you all, your Surya ☺

Follow Me On Social Media
►Facebook:-   / androjavatec.  .
►Twitter:-   / androjavatech4u   .
►LinkedIn:-   / androjava.  .
►Telegram:-https://t.me/AndroJavaTech4u


Watch video ServletConfig and ServletContext online without registration, duration hours minute second in high quality. This video was added by user AndroJava Tech4U 30 July 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 1,053 once and liked it 21 people.