SlideShare une entreprise Scribd logo
1  sur  31
AUTHOR – SUBHASIS NAYAK
Web server and web browser

 It’s a take and give policy in between client
  and server through HTTP(Hyper Text Transport
  Protocol)
 Server takes a request from client and return
  something back to client.
 Take and give routine is done through browser.
 Web browser provides the platform to access
  server content on client machine.
Cont’d …..
 The client’s request contains the name and
  address (the URL), of the thing the client is
  looking for.
 Usually the server has a lot of “contents” that
  has to be sent to client. That contents
  WebPages, images and other resource.
 The server’s response contains the actual
  document that the client requested (or an error
  code if the request could not be processed).
What does a web client does?

 A web client lets the user request something on the
  server, and shows the user the result of the request.
 The browser is the piece of software that knows how
  to communicate with the server. So from now
  on, when we use the term client, we usually won’t
  care whether we’re talking about the human user
  or the browser app. In other words, the client is the
  browser app doing what the user asked it to do.
Communication between Server and
            browser
Clients and servers know HTML and HTTP

 When a server answers a request, the server
  usually sends some type of content to the
  browser so that the browser can display it.
 Server sends     instruction/data to browser in
  html(hyper text mark up language)
 Most of the conversations held on the web
  between clients and servers are held using the
  HTTP protocol, which allows for simple request
  and response conversations.
What the hell browser creates ?

 The browser is a application software reads
 through the HTML code which information sent
 by the server to the client according to the
 client request, creates the web page, and
 renders it to the user’s display.
What exactly is the HTTP Protocol ?

 HTTP - It means Hyper Text Transport Protocol.
 HTTP runs on top of TCP/IP. Then ,what is TCT/IP.
 TCP is responsible for making sure that a file sent
  from one network node to another ends up as a
  complete file at the destination, even though
  the file is split into chunks when it’s sent.
 IP is the underlying protocol that moves/routes
  the chunks (packets) from one host to another
  on their way to the destination.
Continued……

 HTTP, then, is another network protocol that has
  Web-specific features, but it depends on TCP/IP to
  get the complete request and response from one
  place to another. The structure of an HTTP
  conversation is a simple Request/ Response
  sequence; a browser requests, and a server
  responds.
 Key elements of
    Request
    Responds
Continued……

 Key elements of Request
   HTTP method (The action to be performed)

   The page to access (A URL)

   Form parameters (Like arguments to methods)

 Key elements of Respond
   A status code(To check whether the request was
    successful or not )
   The content -type(Text, pictures, movies, HTML and etc)

   The content(The actual HTML, images and etc)
Continued……
HTML is part of the HTTP response
 An HTTP response can
 contain HTML. HTTP adds
 header information to
 the top of whatever
 content    is     in   the
 response      (in    other        HTTP Header
 words, the thing coming
 back from the server).
 An HTML browser uses
                                    HTTP Body
 that header info to help
 process the HTML page.
If that’s the response, what’s in the request?
                   The first ?

 One   of the important features is an HTTP
  method name. These aren’t Java methods, but
  the idea is similar.
 The method name speaks the server the kind of
  request that’s being made, and how the rest of
  the message will be formatted. The HTTP
  protocol has several methods.
         GET
         POST
Continued……
Magic Get & Post

 GET is the simplest HTTP method, and its main job in
  life is to ask the server to get a resource and send it
  back.
 The point of GET is to get something back from the
  server.
 POST is a more powerful request. It’s like a GET plus
  plus. With POST, you can request something and at
  the same time send form data to the server (later in
  this chapter we’ll see what the server might do with
  that data).
Some other Http methods besides get & post

 Those are the two big ones that everybody uses.
 But there are a few rarely used methods (and
 Servlets   can    handle    them)   including
 HEAD, TRACE, PUT, DELETE, OPTIONS, and
 CONNECT.
Get or Post which one is better

 The total amount of characters in a GET is really
  limited , hence it is not useful for bigger data.
 The data you send with the GET is appended to
  the URL up in the browser bar. So, whatever you
  send is exposed. So there is less security in Get
  method.
 The user can’t bookmark a form submission if
  you use POST instead of GET.
URL explanations

 URL - Uniform Resource Locators
Protocol , Server & Url
 Protocol     set of rules which tells the server how
  communications will be held.
 Server is the unique name of the physical server you’re
  looking for. This name maps to a unique IP address. IP
  addresses are numeric and take the form “xxx.yyy.zzz.aaa”.
  You can specify an IP address here instead of a server
  name, but a server name is a lot easier to remember.
 URL is optional. A single server supports many ports. A server
  application is identified by a port. If you don’t specify a port in
  your URL, then port 80 is the default, and as luck would have
  it, that’s the default port for web servers.
Path & Resources

 Path: The path to the location, on the server, of the
  resource being requested. Because most of the
  early servers on the web ran Unix, Unix syntax is still
  used to describe the directory hierarchies on the
  web server.
 Resource: The name of the content being
  requested. This could be an HTML page, a
  servlet, an image, PDF, music, video, or anything
  else the server feels like serving. If this optional part
  of the URL is left out, most web servers will look for
  index.html by default.
Reserved Ports




Be care full , never fix your port to these reserved ports.
As web Server Loves to love to serve Static
                web pages

 As a static page sits there in a directory. The
  server finds and hands it back to client as it is .
  Each and every client sees same thing .
 The page goes client exactly same as it was
  placed in the server .
Servlet

 There are many advantages to using Java over
  Perl for the things you want to do with CGI.
  Performance, for one thing.
 With Perl, the server has to launch a heavy-
  weight process for each and every request for
  that resource!
 Servlets stay loaded and client requests for a
  Servlet resource are handled as separate
  threads of a single running Servlet.
Tier Architecture
 Tier architecture is three
 types -
    Single tier architecture
    Two tier architecture
    Three tier architecture
 Single tier architecture
 combines               all
 Presentation ,logic and
 data and keep at one
 place.    There   is  no
 separation of data, logic
 and presentation.
                                   Single tier Architecture
Servlet Demystified (write, deploy, run) in
           Tomcat apache server

 However we are here working on Tomcat
  apache server.
 So to work on tomcat we have to create a
  directory tree as like below under the webapps.
Continued….

 Well to deploy your Servlet program you have to
  create a folder according your choice inside of the
  webapps folder.
      example - holiday
 Then create one more folders in between the folder
  you just created inside(i.e. holiday) of webapps.
    WEN-INF
 Now in WEB-INF folder we create another folder
 which name most be Classes keep all XML file
 which will help us to connect the java file(i.e
 x.class) which are inside of Classes folder
Continued….

 In Classes folder all java compiled Servlet files
 will be stored. We can create our own package
 inside of Classes folder.
Full tree structure of deployment directory

                                       Classes




                                    Some packages

                         WEB-INF

                                         Lib



       WebAppDirectory
                                         tlds




                         META-INF    MANIFEST.MF
Servlet  &  jsp

Contenu connexe

Tendances

Restful Web Services
Restful Web ServicesRestful Web Services
Restful Web ServicesAngelin R
 
HTTP fundamentals for developers
HTTP fundamentals for developersHTTP fundamentals for developers
HTTP fundamentals for developersMario Cardinal
 
Web services in PHP using the NuSOAP library
Web services in PHP using the NuSOAP libraryWeb services in PHP using the NuSOAP library
Web services in PHP using the NuSOAP libraryFulvio Corno
 
Top 50 MuleSoft interview questions
Top 50 MuleSoft interview questionsTop 50 MuleSoft interview questions
Top 50 MuleSoft interview questionstechievarsity
 
Frequently asked MuleSoft Interview Questions and Answers from Techlightning
Frequently asked MuleSoft Interview Questions and Answers from TechlightningFrequently asked MuleSoft Interview Questions and Answers from Techlightning
Frequently asked MuleSoft Interview Questions and Answers from TechlightningArul ChristhuRaj Alphonse
 
jmp206 - Lotus Domino Web Services Jumpstart
jmp206 - Lotus Domino Web Services Jumpstartjmp206 - Lotus Domino Web Services Jumpstart
jmp206 - Lotus Domino Web Services JumpstartBill Buchan
 
ASP.NET Web API and HTTP Fundamentals
ASP.NET Web API and HTTP FundamentalsASP.NET Web API and HTTP Fundamentals
ASP.NET Web API and HTTP FundamentalsIdo Flatow
 
Html intake 38 lect1
Html intake 38 lect1Html intake 38 lect1
Html intake 38 lect1ghkadous
 
HTTP request and response
HTTP request and responseHTTP request and response
HTTP request and responseSahil Agarwal
 
PHP Training: Module 1
PHP Training: Module 1PHP Training: Module 1
PHP Training: Module 1hussulinux
 
Understanding the Web through HTTP
Understanding the Web through HTTPUnderstanding the Web through HTTP
Understanding the Web through HTTPOlivia Brundage
 

Tendances (18)

Restful Web Services
Restful Web ServicesRestful Web Services
Restful Web Services
 
Web technology Unit-I Part E
Web technology Unit-I   Part EWeb technology Unit-I   Part E
Web technology Unit-I Part E
 
HTTP fundamentals for developers
HTTP fundamentals for developersHTTP fundamentals for developers
HTTP fundamentals for developers
 
Web services in PHP using the NuSOAP library
Web services in PHP using the NuSOAP libraryWeb services in PHP using the NuSOAP library
Web services in PHP using the NuSOAP library
 
Top 50 MuleSoft interview questions
Top 50 MuleSoft interview questionsTop 50 MuleSoft interview questions
Top 50 MuleSoft interview questions
 
5-WebServers.ppt
5-WebServers.ppt5-WebServers.ppt
5-WebServers.ppt
 
Web technologies: HTTP
Web technologies: HTTPWeb technologies: HTTP
Web technologies: HTTP
 
Frequently asked MuleSoft Interview Questions and Answers from Techlightning
Frequently asked MuleSoft Interview Questions and Answers from TechlightningFrequently asked MuleSoft Interview Questions and Answers from Techlightning
Frequently asked MuleSoft Interview Questions and Answers from Techlightning
 
jmp206 - Lotus Domino Web Services Jumpstart
jmp206 - Lotus Domino Web Services Jumpstartjmp206 - Lotus Domino Web Services Jumpstart
jmp206 - Lotus Domino Web Services Jumpstart
 
Restful web services
Restful web servicesRestful web services
Restful web services
 
ASP.NET Web API and HTTP Fundamentals
ASP.NET Web API and HTTP FundamentalsASP.NET Web API and HTTP Fundamentals
ASP.NET Web API and HTTP Fundamentals
 
Html intake 38 lect1
Html intake 38 lect1Html intake 38 lect1
Html intake 38 lect1
 
HTTP request and response
HTTP request and responseHTTP request and response
HTTP request and response
 
Www and http
Www and httpWww and http
Www and http
 
PHP Training: Module 1
PHP Training: Module 1PHP Training: Module 1
PHP Training: Module 1
 
Understanding the Web through HTTP
Understanding the Web through HTTPUnderstanding the Web through HTTP
Understanding the Web through HTTP
 
Web Technology Fundamentals
Web Technology FundamentalsWeb Technology Fundamentals
Web Technology Fundamentals
 
Web server
Web serverWeb server
Web server
 

En vedette

En vedette (6)

Jsp 01
Jsp 01Jsp 01
Jsp 01
 
Php, mysq lpart3
Php, mysq lpart3Php, mysq lpart3
Php, mysq lpart3
 
how to create object
how to create objecthow to create object
how to create object
 
Introduction to network
Introduction to networkIntroduction to network
Introduction to network
 
J2ee connector architecture
J2ee connector architectureJ2ee connector architecture
J2ee connector architecture
 
Php, mysq lpart5(mysql)
Php, mysq lpart5(mysql)Php, mysq lpart5(mysql)
Php, mysq lpart5(mysql)
 

Similaire à Servlet & jsp

Web Tech Java Servlet Update1
Web Tech   Java Servlet Update1Web Tech   Java Servlet Update1
Web Tech Java Servlet Update1vikram singh
 
An Introduction To Java Web Technology
An Introduction To Java Web TechnologyAn Introduction To Java Web Technology
An Introduction To Java Web Technologyvikram singh
 
Server Side Programming
Server Side ProgrammingServer Side Programming
Server Side ProgrammingMilan Thapa
 
Lecture 1 Introduction to Web Development.pptx
Lecture 1 Introduction to Web Development.pptxLecture 1 Introduction to Web Development.pptx
Lecture 1 Introduction to Web Development.pptxKevi20
 
By: Luis A. Colón Anthony Trivino
By: Luis A. Colón Anthony TrivinoBy: Luis A. Colón Anthony Trivino
By: Luis A. Colón Anthony Trivinowebhostingguy
 
Abhishek srivastava ppt_web_tech
Abhishek srivastava ppt_web_techAbhishek srivastava ppt_web_tech
Abhishek srivastava ppt_web_techabhishek srivastav
 
Learn Advanced JAVA at ASIT
Learn Advanced JAVA at ASITLearn Advanced JAVA at ASIT
Learn Advanced JAVA at ASITASIT
 
Ajp notes-chapter-06
Ajp notes-chapter-06Ajp notes-chapter-06
Ajp notes-chapter-06Ankit Dubey
 
Web Services 2009
Web Services 2009Web Services 2009
Web Services 2009Cathie101
 
internet principles of operation By ZAK
internet principles of operation By ZAKinternet principles of operation By ZAK
internet principles of operation By ZAKTabsheer Hasan
 
Anintroductiontojavawebtechnology 090324184240-phpapp01
Anintroductiontojavawebtechnology 090324184240-phpapp01Anintroductiontojavawebtechnology 090324184240-phpapp01
Anintroductiontojavawebtechnology 090324184240-phpapp01raviIITRoorkee
 
Web Server Technologies I: HTTP & Getting Started
Web Server Technologies I: HTTP & Getting StartedWeb Server Technologies I: HTTP & Getting Started
Web Server Technologies I: HTTP & Getting StartedPort80 Software
 
Web Server Technologies I: HTTP
Web Server Technologies I: HTTP Web Server Technologies I: HTTP
Web Server Technologies I: HTTP webhostingguy
 

Similaire à Servlet & jsp (20)

Web Tech Java Servlet Update1
Web Tech   Java Servlet Update1Web Tech   Java Servlet Update1
Web Tech Java Servlet Update1
 
An Introduction To Java Web Technology
An Introduction To Java Web TechnologyAn Introduction To Java Web Technology
An Introduction To Java Web Technology
 
Servlet by Rj
Servlet by RjServlet by Rj
Servlet by Rj
 
Servlet basics
Servlet basicsServlet basics
Servlet basics
 
Server Side Programming
Server Side ProgrammingServer Side Programming
Server Side Programming
 
Lecture 1 Introduction to Web Development.pptx
Lecture 1 Introduction to Web Development.pptxLecture 1 Introduction to Web Development.pptx
Lecture 1 Introduction to Web Development.pptx
 
By: Luis A. Colón Anthony Trivino
By: Luis A. Colón Anthony TrivinoBy: Luis A. Colón Anthony Trivino
By: Luis A. Colón Anthony Trivino
 
Abhishek srivastava ppt_web_tech
Abhishek srivastava ppt_web_techAbhishek srivastava ppt_web_tech
Abhishek srivastava ppt_web_tech
 
Learn Advanced JAVA at ASIT
Learn Advanced JAVA at ASITLearn Advanced JAVA at ASIT
Learn Advanced JAVA at ASIT
 
Ajp notes-chapter-06
Ajp notes-chapter-06Ajp notes-chapter-06
Ajp notes-chapter-06
 
Web Services 2009
Web Services 2009Web Services 2009
Web Services 2009
 
Ftp servlet
Ftp servletFtp servlet
Ftp servlet
 
internet principles of operation By ZAK
internet principles of operation By ZAKinternet principles of operation By ZAK
internet principles of operation By ZAK
 
Servlet classnotes
Servlet classnotesServlet classnotes
Servlet classnotes
 
PHP
PHPPHP
PHP
 
Apache web server
Apache web serverApache web server
Apache web server
 
Anintroductiontojavawebtechnology 090324184240-phpapp01
Anintroductiontojavawebtechnology 090324184240-phpapp01Anintroductiontojavawebtechnology 090324184240-phpapp01
Anintroductiontojavawebtechnology 090324184240-phpapp01
 
Web Server Technologies I: HTTP & Getting Started
Web Server Technologies I: HTTP & Getting StartedWeb Server Technologies I: HTTP & Getting Started
Web Server Technologies I: HTTP & Getting Started
 
Web Server Technologies I: HTTP
Web Server Technologies I: HTTP Web Server Technologies I: HTTP
Web Server Technologies I: HTTP
 
Java part 3
Java part  3Java part  3
Java part 3
 

Plus de Subhasis Nayak

working with database using mysql
working with database using mysql working with database using mysql
working with database using mysql Subhasis Nayak
 
Php, mysq lpart4(processing html form)
Php, mysq lpart4(processing html form)Php, mysq lpart4(processing html form)
Php, mysq lpart4(processing html form)Subhasis Nayak
 
Jsp 02(jsp directives)2003
Jsp 02(jsp directives)2003Jsp 02(jsp directives)2003
Jsp 02(jsp directives)2003Subhasis Nayak
 
Oops And C++ Fundamentals
Oops And C++ FundamentalsOops And C++ Fundamentals
Oops And C++ FundamentalsSubhasis Nayak
 
Text mode Linux Installation Part 01
Text mode Linux Installation Part 01Text mode Linux Installation Part 01
Text mode Linux Installation Part 01Subhasis Nayak
 

Plus de Subhasis Nayak (14)

working with database using mysql
working with database using mysql working with database using mysql
working with database using mysql
 
Php, mysq lpart4(processing html form)
Php, mysq lpart4(processing html form)Php, mysq lpart4(processing html form)
Php, mysq lpart4(processing html form)
 
Jsp 02(jsp directives)2003
Jsp 02(jsp directives)2003Jsp 02(jsp directives)2003
Jsp 02(jsp directives)2003
 
Php, mysq lpart1
Php, mysq lpart1Php, mysq lpart1
Php, mysq lpart1
 
Php, mysqlpart2
Php, mysqlpart2Php, mysqlpart2
Php, mysqlpart2
 
C:\fakepath\jsp01
C:\fakepath\jsp01C:\fakepath\jsp01
C:\fakepath\jsp01
 
Pointer in c++ part3
Pointer in c++ part3Pointer in c++ part3
Pointer in c++ part3
 
Pointer in c++ part2
Pointer in c++ part2Pointer in c++ part2
Pointer in c++ part2
 
Pointer in c++ part1
Pointer in c++ part1Pointer in c++ part1
Pointer in c++ part1
 
C++ arrays part2
C++ arrays part2C++ arrays part2
C++ arrays part2
 
C++ arrays part1
C++ arrays part1C++ arrays part1
C++ arrays part1
 
Flow control in c++
Flow control in c++Flow control in c++
Flow control in c++
 
Oops And C++ Fundamentals
Oops And C++ FundamentalsOops And C++ Fundamentals
Oops And C++ Fundamentals
 
Text mode Linux Installation Part 01
Text mode Linux Installation Part 01Text mode Linux Installation Part 01
Text mode Linux Installation Part 01
 

Servlet & jsp

  • 2. Web server and web browser  It’s a take and give policy in between client and server through HTTP(Hyper Text Transport Protocol)  Server takes a request from client and return something back to client.  Take and give routine is done through browser.  Web browser provides the platform to access server content on client machine.
  • 4.  The client’s request contains the name and address (the URL), of the thing the client is looking for.  Usually the server has a lot of “contents” that has to be sent to client. That contents WebPages, images and other resource.  The server’s response contains the actual document that the client requested (or an error code if the request could not be processed).
  • 5. What does a web client does?  A web client lets the user request something on the server, and shows the user the result of the request.  The browser is the piece of software that knows how to communicate with the server. So from now on, when we use the term client, we usually won’t care whether we’re talking about the human user or the browser app. In other words, the client is the browser app doing what the user asked it to do.
  • 7. Clients and servers know HTML and HTTP  When a server answers a request, the server usually sends some type of content to the browser so that the browser can display it.  Server sends instruction/data to browser in html(hyper text mark up language)  Most of the conversations held on the web between clients and servers are held using the HTTP protocol, which allows for simple request and response conversations.
  • 8. What the hell browser creates ?  The browser is a application software reads through the HTML code which information sent by the server to the client according to the client request, creates the web page, and renders it to the user’s display.
  • 9. What exactly is the HTTP Protocol ?  HTTP - It means Hyper Text Transport Protocol.  HTTP runs on top of TCP/IP. Then ,what is TCT/IP.  TCP is responsible for making sure that a file sent from one network node to another ends up as a complete file at the destination, even though the file is split into chunks when it’s sent.  IP is the underlying protocol that moves/routes the chunks (packets) from one host to another on their way to the destination.
  • 10. Continued……  HTTP, then, is another network protocol that has Web-specific features, but it depends on TCP/IP to get the complete request and response from one place to another. The structure of an HTTP conversation is a simple Request/ Response sequence; a browser requests, and a server responds.  Key elements of  Request  Responds
  • 11. Continued……  Key elements of Request  HTTP method (The action to be performed)  The page to access (A URL)  Form parameters (Like arguments to methods)  Key elements of Respond  A status code(To check whether the request was successful or not )  The content -type(Text, pictures, movies, HTML and etc)  The content(The actual HTML, images and etc)
  • 13. HTML is part of the HTTP response  An HTTP response can contain HTML. HTTP adds header information to the top of whatever content is in the response (in other HTTP Header words, the thing coming back from the server). An HTML browser uses HTTP Body that header info to help process the HTML page.
  • 14. If that’s the response, what’s in the request? The first ?  One of the important features is an HTTP method name. These aren’t Java methods, but the idea is similar.  The method name speaks the server the kind of request that’s being made, and how the rest of the message will be formatted. The HTTP protocol has several methods.  GET  POST
  • 16.
  • 17. Magic Get & Post  GET is the simplest HTTP method, and its main job in life is to ask the server to get a resource and send it back.  The point of GET is to get something back from the server.  POST is a more powerful request. It’s like a GET plus plus. With POST, you can request something and at the same time send form data to the server (later in this chapter we’ll see what the server might do with that data).
  • 18. Some other Http methods besides get & post  Those are the two big ones that everybody uses. But there are a few rarely used methods (and Servlets can handle them) including HEAD, TRACE, PUT, DELETE, OPTIONS, and CONNECT.
  • 19. Get or Post which one is better  The total amount of characters in a GET is really limited , hence it is not useful for bigger data.  The data you send with the GET is appended to the URL up in the browser bar. So, whatever you send is exposed. So there is less security in Get method.  The user can’t bookmark a form submission if you use POST instead of GET.
  • 20. URL explanations  URL - Uniform Resource Locators
  • 21. Protocol , Server & Url  Protocol set of rules which tells the server how communications will be held.  Server is the unique name of the physical server you’re looking for. This name maps to a unique IP address. IP addresses are numeric and take the form “xxx.yyy.zzz.aaa”. You can specify an IP address here instead of a server name, but a server name is a lot easier to remember.  URL is optional. A single server supports many ports. A server application is identified by a port. If you don’t specify a port in your URL, then port 80 is the default, and as luck would have it, that’s the default port for web servers.
  • 22. Path & Resources  Path: The path to the location, on the server, of the resource being requested. Because most of the early servers on the web ran Unix, Unix syntax is still used to describe the directory hierarchies on the web server.  Resource: The name of the content being requested. This could be an HTML page, a servlet, an image, PDF, music, video, or anything else the server feels like serving. If this optional part of the URL is left out, most web servers will look for index.html by default.
  • 23. Reserved Ports Be care full , never fix your port to these reserved ports.
  • 24. As web Server Loves to love to serve Static web pages  As a static page sits there in a directory. The server finds and hands it back to client as it is . Each and every client sees same thing .  The page goes client exactly same as it was placed in the server .
  • 25. Servlet  There are many advantages to using Java over Perl for the things you want to do with CGI. Performance, for one thing.  With Perl, the server has to launch a heavy- weight process for each and every request for that resource!  Servlets stay loaded and client requests for a Servlet resource are handled as separate threads of a single running Servlet.
  • 26. Tier Architecture  Tier architecture is three types -  Single tier architecture  Two tier architecture  Three tier architecture  Single tier architecture combines all Presentation ,logic and data and keep at one place. There is no separation of data, logic and presentation. Single tier Architecture
  • 27. Servlet Demystified (write, deploy, run) in Tomcat apache server  However we are here working on Tomcat apache server.  So to work on tomcat we have to create a directory tree as like below under the webapps.
  • 28. Continued….  Well to deploy your Servlet program you have to create a folder according your choice inside of the webapps folder. example - holiday  Then create one more folders in between the folder you just created inside(i.e. holiday) of webapps.  WEN-INF  Now in WEB-INF folder we create another folder which name most be Classes keep all XML file which will help us to connect the java file(i.e x.class) which are inside of Classes folder
  • 29. Continued….  In Classes folder all java compiled Servlet files will be stored. We can create our own package inside of Classes folder.
  • 30. Full tree structure of deployment directory Classes Some packages WEB-INF Lib WebAppDirectory tlds META-INF MANIFEST.MF