Technology Guruu

  • Home
  • Site Info
    • About Us
    • Disclaimer
    • Privacy Polacy
  • Home
  • Digital Marketing
    • SEO
    • SMM
    • SEM
  • Quotes
  • Technical
  • Java
  • .Net
    • C#.Net
    • ASP.Net
  • Keychains

Friday, 28 October 2016

Brief Description About Servlets-Short Note On Servlets

 Akansha     10:30:00     Java, TechnicalQuestions     No comments   

Friends  Today I Would Like TO Write The Topic is Servlets In Java.First We are Know The Importance Of Servlets and Why it can be Used in Java,What are the Topic we have Related To Servlets and how important in Servlets is the most important topic in Java .This article  is very helpful to understand Servlets topic.

Servlets in Java

Servelet introduction
Servlets

Introduction about Servlets

A Servlet is a Java Program that is execute at the serverside.Servlet related classes are contained in two packages.
1.Javax.servlet.*;
2.Javax.servlet.http.*;
  • A simple java Program gets the functionality of a servlet by eithe extending generic servlet or http servlet.
  • user interface is used to gather a request from a person and forward these request to a component for processing.the component that processes the request is belt using servlet or jsp previously. we used CGI technology used.
  • Common Gateway interface is slow in response.
  • A client can send a request to server in two ways.
1.get()
2.post()
  • If you use get()method from contains will appear in the url.It is not very secure.
  • post()method is secure way to send the data.

Servlets Lifecycle

Life Cycle of servlets
Life Cycle

Servlet life cycle contains 3 stages

1.Init()
2.Service()
3.Destroy()
  1. Init() method is executed when the servlet is first time loaded into memory.
  2. Service() method is execute each time when a client makes some request.Service()method can be replaced diGet() or doPost() method.
  3. A deployment descripter file(web.xml) will help us in managing servlets.we can also givewelcome file information inside that file.
  4. A servlet container is the where all servlets run.
Found this article useful then share it with others because sharing is caring. Also comment if you have any query then feel free to ask, I will come with the answer. :)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg
Email ThisBlogThis!Share to XShare to Facebook
Newer Post Older Post Home

0 comments:

Post a Comment

Popular Posts

  • Brief description about Delegates
    Introduction about delegates and why delegates are came the main purpose of delegates how to useful and what are the advantages and disadv...
  • Missing My Friend Quotes : Friendship Day Quotes 2017
    Friends today my article about missing friends and moments with them. Here you are seen the best friendship quotes and some  feelings when...
  • Na Tanu Samjhawan Ki Song lyrics
    Na Tanu Samjhawan Ki Song Lyrics With English Translation Movie : Humpty Sharma ki Dulhaniya Song : Samjhawan Song Singer : Arijit ...
  • Detail Introduction about C#.Net
    Brief Introduction about C#.Net  Introduction C#.Net is the one of the Programming Language the .Net Framework also contains ano...
  • Love Failure Quotes and Sad valentines day Quotes
    We Love Someone is a easy process sometime takes long time to love someone love others within short period but anyway always love dependin...
  • Top 10 valentine's day Quotes and Greetings wishes
    All Lovers have Anxiety in Valentines day because it is a festival to all lovers in these they enjoy a lot and celebrate the Valentine...
  • Wonderful sayings about Life.
    I Believe Follow  Things(Life Quotes) I Believe I believe: ********** Believe in Life ********** That we don't have to chan...
  • Brief Description about Multicast Delegate
    Multicast delegate is an extension of normal delegate. It helps you to point more than one method at a single moment of time. Multicast ...
  • Letter B wallpapers and keychains for facebook
    In these we are Providing Letter B Wallpapers and awesome Key chains also Some Facebook Profile Pictures and cover photos also we are prov...
  • Best Good Afternoon wishes greetings and quotes
    Top Most Good Afternoon Wishes Good Afternoon wishes are gives a relaxation in afternoon time.This wishing can be done between 12 to 3 p...

Categories

  • Entertainment (67)
  • TechnicalQuestions (58)
  • Quotes (11)
  • C#.Net (8)
  • Java (8)
  • ValentinesDay (4)
  • SEO (3)
  • Home
  • About Us
  • Disclaimer
  • Privacy Policy
  • Sitemap

Copyright © 2015-2017 Good Friends 5.All Rights Reserved• And Our Sitemap • All Logos and Trademark Belongs To Their Respective Owners•