SlideShare une entreprise Scribd logo
1  sur  36
BY
VARUN SOOD
  6190302620
   First introduced to India in 1853.

   During 1947 there were 42 Rail units.

   In 1951 it is Nationalized , thus it becomes one of the
    biggest Rail networks in world.
   Indian Railways is the world's second-largest
    railway .

   6,853 stations, 63,028 kilometers of
    track, 37,840 passenger coaches and
    222,147 freight cars.

   Annually it carries some 4.83 billion
    passengers and 492 million tons of freight.
   Continuous update of information about current
    status and location of the assets.

   Confronting and tackling the business challenges
    on a real time basis.

   To modernize their operations and practices to
    suit the needs of their customers

   To gain tremendous competitive advantage in the
    present and future business environment.
   Design, development & implementation of
    computer based information systems and
    associated communication networks.

   Technical support and services to
    develop, setup , operate and maintain any
    computerized system & underlying infra
    structure.

   Booking
              Simple ticket selling.
              No guarantee of seat.

   Reservation
        Ticket & guarantee of
      accommodation.
   An online application of CRIS which aims to
    report every incident in the ongoing
    projects of different groups.

   It is developed by PRS group.

   Designed and developed for better
    functionality and performance of different
    projects of PRS group.
   To report the bugs and incidents of a
    particular project to the associated team.

   To plan the schedule of activities , that
    ensures the proper working of project.

   To track & manage the status of reported
    incidents and scheduled activities.
   3 – Tier architecture is three way interaction
    in client server environment.
•   Presentation Tier – constitutes user interface.
•   Business Logic Tier – constitutes business
    logic.
•   Back end Database – data is stored in
    database server.
   Model Layer – It consists the business Logic.

   View Layer – It generates response to
    browser.

   Control Layer – It receives the request for
    application & control way other two layers
    interact.
LOGIC DETAILS OF
PROJECT.
Struts – An introduction.
   Premier framework to design JAVA based web
    applications.

   Based on JSP model 2 architecture.

   Fills in controller & view layer, model layer is
    left to developer.

   It is an open source framework.
Basic Components of Struts.
   Base Framework.

   JSP tag libraries.
•   HTML.
•   Bean.
•   Logic.
•   Nested.

   Tiles plug-in.

   Validator plug-in.
Action Servlet Class.
   <web-app>
    <servlet>
      <servlet-name>action</servlet-name>      Receives All incoming
      <servlet-class>                           HTTP requests.
    org.apache.struts.action.ActionServlet
     </servlet-class>
       <init-param>

                                                It is mapped in WEB.XML
       <param-name>debug</param-name>
       <param-value>2</param-value>
                                                 file.
      </init-param>
      <init-param>
       <param-name>config</param-name>
                                                *.do shows default
       <param-value>/WEB-INF/struts-            mapping pattern here.
    config.xml
       </param-value>
            …
    </servlet>
   <servlet-mapping>
      <servlet-name>action</servlet-name>
      <url-pattern>*.do</url-pattern>
    </servlet-mapping>
    </web-app>
Action Class.
   import                                       It is responsible for
    javax.servlet.http.HttpServletRequest;
    import                                        processing every
    javax.servlet.http.HttpServletResponse;       request.
    import org.apache.struts.action.Action;
   import
    org.apache.struts.action.ActionForm;         Transfers data from
    import                                        view layer to specific
    org.apache.struts.action.ActionForward;
    import                                        business process in
    org.apache.struts.action.ActionMapping;       model layer & vice
    public class UpdateUserAction extends         versa.
    Action {
   public ActionForward
    execute(ActionMapping
    mapping, ActionForm
    form, HttpServletRequest
    request, HttpServletResponse
    response) throws Exception
   { // Perform request processing here.
Action Forward Class.
   import javax.servlet.http.HttpServletRequest;      It encapsulates
    importjavax.servlet.http.HttpServletResponse
    ; import org.apache.struts.action.Action;           forward.
   Import org.apache.struts.action.ActionForm;
   Import
    org.apache.struts.action.ActionForward;            Forward allows to
    import                                              use the alternate
    org.apache.struts.action.ActionMapping;
   public class UpdateUserAction extends
                                                        name for URL’S &
    Action { public ActionForward                       then this name is
    execute(ActionMapping
    mapping, ActionForm
                                                        used as reference.
    form, HttpServletRequest
    request, HttpServletResponse
    response) throws Exception                         The return type of
   { // Perform action processing. return              execute() is
    new ActionForward("updateSuccess");
   }
                                                        ACTIONFORWARD.
   }
Struts Working Diagram.
                      strut-config.xml

       2: Get Mapped
           Action                  3: Invoke mapped
                                       Action Bean      Controller
           1: Post                                                   4: Retrieve Data
 Browser               ActionServlet                    ActionBean                  Data
                                                                                   Resource

                      Front
                      Controller
                                                                           5: Establish
              7: redirect to                                               bean state,
             appropriate view                                             then place in
                                         6: Establish Form
                                                                            session or
                                               State
                                                                             request
                                                                               object




                            JSP                         ActionForm                      Beans

                                         8: Get View
                          The View        Information                               The Model
LOGIN PAGE.
INBOX OF USER.
REPORT NEW INCIDENT.
REPORTED INCIDENTS.
INCIDENT STATUS.
DELETED INCIDENTS.
SCHEDULE NEW ACTIVITY.
PLANNED ACTIVITIES.
ACTIVITY STATUS.
RELEASE PLANNER.
RELEASE TRACKER.
STATUS RELEASE.
REPORT SECTION.
FEEDBACK.
MANAGE USER.
Project Description Of Incident Management System Developed by PRS (CRIS) , NEW DELHI BY VARUN SOOD

Contenu connexe

Tendances

20150516 modern web_conf_tw
20150516 modern web_conf_tw20150516 modern web_conf_tw
20150516 modern web_conf_tw
Tse-Ching Ho
 
Step by Step Guide for building a simple Struts Application
Step by Step Guide for building a simple Struts ApplicationStep by Step Guide for building a simple Struts Application
Step by Step Guide for building a simple Struts Application
elliando dias
 
Integration of Backbone.js with Spring 3.1
Integration of Backbone.js with Spring 3.1Integration of Backbone.js with Spring 3.1
Integration of Backbone.js with Spring 3.1
Michał Orman
 
springmvc-150923124312-lva1-app6892
springmvc-150923124312-lva1-app6892springmvc-150923124312-lva1-app6892
springmvc-150923124312-lva1-app6892
Tuna Tore
 

Tendances (19)

Servlets 3.0 - Asynchronous, Extensibility, Ease-of-use @ JavaOne Brazil 2010
Servlets 3.0 - Asynchronous, Extensibility, Ease-of-use @ JavaOne Brazil 2010Servlets 3.0 - Asynchronous, Extensibility, Ease-of-use @ JavaOne Brazil 2010
Servlets 3.0 - Asynchronous, Extensibility, Ease-of-use @ JavaOne Brazil 2010
 
Workshop 19: ReactJS Introduction
Workshop 19: ReactJS IntroductionWorkshop 19: ReactJS Introduction
Workshop 19: ReactJS Introduction
 
20150516 modern web_conf_tw
20150516 modern web_conf_tw20150516 modern web_conf_tw
20150516 modern web_conf_tw
 
Step by Step Guide for building a simple Struts Application
Step by Step Guide for building a simple Struts ApplicationStep by Step Guide for building a simple Struts Application
Step by Step Guide for building a simple Struts Application
 
JavaOne India 2011 - Servlets 3.0
JavaOne India 2011 - Servlets 3.0JavaOne India 2011 - Servlets 3.0
JavaOne India 2011 - Servlets 3.0
 
Spring 4 final xtr_presentation
Spring 4 final xtr_presentationSpring 4 final xtr_presentation
Spring 4 final xtr_presentation
 
Struts tutorial
Struts tutorialStruts tutorial
Struts tutorial
 
Lecture 5 JSTL, custom tags, maven
Lecture 5   JSTL, custom tags, mavenLecture 5   JSTL, custom tags, maven
Lecture 5 JSTL, custom tags, maven
 
the Spring 4 update
the Spring 4 updatethe Spring 4 update
the Spring 4 update
 
Integration of Backbone.js with Spring 3.1
Integration of Backbone.js with Spring 3.1Integration of Backbone.js with Spring 3.1
Integration of Backbone.js with Spring 3.1
 
Spring 4 - A&BP CC
Spring 4 - A&BP CCSpring 4 - A&BP CC
Spring 4 - A&BP CC
 
#30.스프링프레임워크 & 마이바티스 (Spring Framework, MyBatis)_스프링프레임워크 강좌, 재직자환급교육,실업자국비지원...
#30.스프링프레임워크 & 마이바티스 (Spring Framework, MyBatis)_스프링프레임워크 강좌, 재직자환급교육,실업자국비지원...#30.스프링프레임워크 & 마이바티스 (Spring Framework, MyBatis)_스프링프레임워크 강좌, 재직자환급교육,실업자국비지원...
#30.스프링프레임워크 & 마이바티스 (Spring Framework, MyBatis)_스프링프레임워크 강좌, 재직자환급교육,실업자국비지원...
 
Intro react js
Intro react jsIntro react js
Intro react js
 
Spring database - part2
Spring database -  part2Spring database -  part2
Spring database - part2
 
Spring MVC Basics
Spring MVC BasicsSpring MVC Basics
Spring MVC Basics
 
Spring Framework Petclinic sample application
Spring Framework Petclinic sample applicationSpring Framework Petclinic sample application
Spring Framework Petclinic sample application
 
springmvc-150923124312-lva1-app6892
springmvc-150923124312-lva1-app6892springmvc-150923124312-lva1-app6892
springmvc-150923124312-lva1-app6892
 
Java Web Programming [7/9] : Struts2 Basics
Java Web Programming [7/9] : Struts2 BasicsJava Web Programming [7/9] : Struts2 Basics
Java Web Programming [7/9] : Struts2 Basics
 
Lecture 3: Servlets - Session Management
Lecture 3:  Servlets - Session ManagementLecture 3:  Servlets - Session Management
Lecture 3: Servlets - Session Management
 

En vedette

_Process_Safety_Management
_Process_Safety_Management_Process_Safety_Management
_Process_Safety_Management
Essam Osmaan
 
The business case for process safety final ppt
The business case for process safety final pptThe business case for process safety final ppt
The business case for process safety final ppt
orosghe
 
MSiX - Health Information System Development Project
MSiX - Health Information System Development ProjectMSiX - Health Information System Development Project
MSiX - Health Information System Development Project
dabai
 
IT Department - Re-Organizing Plan II
IT Department - Re-Organizing Plan IIIT Department - Re-Organizing Plan II
IT Department - Re-Organizing Plan II
dabai
 
College mgmnt system
College mgmnt systemCollege mgmnt system
College mgmnt system
Sayali Birari
 

En vedette (20)

Kp bloch psm preparedness final rev
Kp bloch psm preparedness final revKp bloch psm preparedness final rev
Kp bloch psm preparedness final rev
 
_Process_Safety_Management
_Process_Safety_Management_Process_Safety_Management
_Process_Safety_Management
 
The business case for process safety final ppt
The business case for process safety final pptThe business case for process safety final ppt
The business case for process safety final ppt
 
MSiX - Health Information System Development Project
MSiX - Health Information System Development ProjectMSiX - Health Information System Development Project
MSiX - Health Information System Development Project
 
System Analysis and Design - Introduction
System Analysis and Design - IntroductionSystem Analysis and Design - Introduction
System Analysis and Design - Introduction
 
IT Department - Re-Organizing Plan II
IT Department - Re-Organizing Plan IIIT Department - Re-Organizing Plan II
IT Department - Re-Organizing Plan II
 
Process safety managment
Process safety managmentProcess safety managment
Process safety managment
 
A Global Horizon Scanning System and NATO workshop: Inentification of Potenti...
A Global Horizon Scanning System and NATO workshop: Inentification of Potenti...A Global Horizon Scanning System and NATO workshop: Inentification of Potenti...
A Global Horizon Scanning System and NATO workshop: Inentification of Potenti...
 
System Development Cycle - IT Project Management
System Development Cycle - IT Project ManagementSystem Development Cycle - IT Project Management
System Development Cycle - IT Project Management
 
Mobile Bill Management System - Project Proposal
Mobile Bill Management System - Project ProposalMobile Bill Management System - Project Proposal
Mobile Bill Management System - Project Proposal
 
SAP mm module
SAP mm moduleSAP mm module
SAP mm module
 
Security Training Incident Investigation And Report Writing.Ppt
Security Training Incident Investigation And Report Writing.PptSecurity Training Incident Investigation And Report Writing.Ppt
Security Training Incident Investigation And Report Writing.Ppt
 
Library Management System Project
Library Management System ProjectLibrary Management System Project
Library Management System Project
 
Student management system project report c++
Student management system project report c++Student management system project report c++
Student management system project report c++
 
Accident Investigation - UK-HSE
Accident Investigation - UK-HSEAccident Investigation - UK-HSE
Accident Investigation - UK-HSE
 
Online Quiz System Project PPT
Online Quiz System Project PPTOnline Quiz System Project PPT
Online Quiz System Project PPT
 
College mgmnt system
College mgmnt systemCollege mgmnt system
College mgmnt system
 
Online voting system ppt by anoop
Online voting system ppt by anoopOnline voting system ppt by anoop
Online voting system ppt by anoop
 
Ppt on online voting
Ppt on online votingPpt on online voting
Ppt on online voting
 
Air ticket reservation system presentation
Air ticket reservation system presentation Air ticket reservation system presentation
Air ticket reservation system presentation
 

Similaire à Project Description Of Incident Management System Developed by PRS (CRIS) , NEW DELHI BY VARUN SOOD

Struts An Open-source Architecture for Web Applications
Struts An Open-source Architecture for Web ApplicationsStruts An Open-source Architecture for Web Applications
Struts An Open-source Architecture for Web Applications
elliando dias
 
Stepbystepguideforbuidlingsimplestrutsapp 090702025438-phpapp02
Stepbystepguideforbuidlingsimplestrutsapp 090702025438-phpapp02Stepbystepguideforbuidlingsimplestrutsapp 090702025438-phpapp02
Stepbystepguideforbuidlingsimplestrutsapp 090702025438-phpapp02
Rati Manandhar
 
Struts Java I I Lecture 8
Struts  Java  I I  Lecture 8Struts  Java  I I  Lecture 8
Struts Java I I Lecture 8
patinijava
 

Similaire à Project Description Of Incident Management System Developed by PRS (CRIS) , NEW DELHI BY VARUN SOOD (20)

Struts An Open-source Architecture for Web Applications
Struts An Open-source Architecture for Web ApplicationsStruts An Open-source Architecture for Web Applications
Struts An Open-source Architecture for Web Applications
 
Stepbystepguideforbuidlingsimplestrutsapp 090702025438-phpapp02
Stepbystepguideforbuidlingsimplestrutsapp 090702025438-phpapp02Stepbystepguideforbuidlingsimplestrutsapp 090702025438-phpapp02
Stepbystepguideforbuidlingsimplestrutsapp 090702025438-phpapp02
 
Struts Intro
Struts IntroStruts Intro
Struts Intro
 
Introduction to Struts 1.3
Introduction to Struts 1.3Introduction to Struts 1.3
Introduction to Struts 1.3
 
Struts Java I I Lecture 8
Struts  Java  I I  Lecture 8Struts  Java  I I  Lecture 8
Struts Java I I Lecture 8
 
Jsf Framework
Jsf FrameworkJsf Framework
Jsf Framework
 
In The Brain of Cagatay Civici: Exploring JavaServer Faces 2.0 and PrimeFaces
In The Brain of Cagatay Civici: Exploring JavaServer Faces 2.0 and PrimeFaces In The Brain of Cagatay Civici: Exploring JavaServer Faces 2.0 and PrimeFaces
In The Brain of Cagatay Civici: Exploring JavaServer Faces 2.0 and PrimeFaces
 
Jsf
JsfJsf
Jsf
 
Struts
StrutsStruts
Struts
 
PUC SE Day 2019 - SpringBoot
PUC SE Day 2019 - SpringBootPUC SE Day 2019 - SpringBoot
PUC SE Day 2019 - SpringBoot
 
Unit 07: Design Patterns and Frameworks (3/3)
Unit 07: Design Patterns and Frameworks (3/3)Unit 07: Design Patterns and Frameworks (3/3)
Unit 07: Design Patterns and Frameworks (3/3)
 
Spring5 New Features
Spring5 New FeaturesSpring5 New Features
Spring5 New Features
 
Struts Action
Struts ActionStruts Action
Struts Action
 
Rest web service_with_spring_hateoas
Rest web service_with_spring_hateoasRest web service_with_spring_hateoas
Rest web service_with_spring_hateoas
 
Provisioning & Migration with p2: Case study - The Good, the Bad and the Ugly
Provisioning & Migration with p2: Case study - The Good, the Bad and the UglyProvisioning & Migration with p2: Case study - The Good, the Bad and the Ugly
Provisioning & Migration with p2: Case study - The Good, the Bad and the Ugly
 
Struts Basics
Struts BasicsStruts Basics
Struts Basics
 
Struts2 notes
Struts2 notesStruts2 notes
Struts2 notes
 
Multi Client Development with Spring
Multi Client Development with SpringMulti Client Development with Spring
Multi Client Development with Spring
 
Adding a modern twist to legacy web applications
Adding a modern twist to legacy web applicationsAdding a modern twist to legacy web applications
Adding a modern twist to legacy web applications
 
SpringBootCompleteBootcamp.pptx
SpringBootCompleteBootcamp.pptxSpringBootCompleteBootcamp.pptx
SpringBootCompleteBootcamp.pptx
 

Dernier

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Dernier (20)

Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdf
 

Project Description Of Incident Management System Developed by PRS (CRIS) , NEW DELHI BY VARUN SOOD

  • 1. BY VARUN SOOD 6190302620
  • 2. First introduced to India in 1853.  During 1947 there were 42 Rail units.  In 1951 it is Nationalized , thus it becomes one of the biggest Rail networks in world.
  • 3. Indian Railways is the world's second-largest railway .  6,853 stations, 63,028 kilometers of track, 37,840 passenger coaches and 222,147 freight cars.  Annually it carries some 4.83 billion passengers and 492 million tons of freight.
  • 4. Continuous update of information about current status and location of the assets.  Confronting and tackling the business challenges on a real time basis.  To modernize their operations and practices to suit the needs of their customers  To gain tremendous competitive advantage in the present and future business environment.
  • 5. Design, development & implementation of computer based information systems and associated communication networks.  Technical support and services to develop, setup , operate and maintain any computerized system & underlying infra structure. 
  • 6. Booking Simple ticket selling. No guarantee of seat.  Reservation Ticket & guarantee of accommodation.
  • 7. An online application of CRIS which aims to report every incident in the ongoing projects of different groups.  It is developed by PRS group.  Designed and developed for better functionality and performance of different projects of PRS group.
  • 8. To report the bugs and incidents of a particular project to the associated team.  To plan the schedule of activities , that ensures the proper working of project.  To track & manage the status of reported incidents and scheduled activities.
  • 9. 3 – Tier architecture is three way interaction in client server environment. • Presentation Tier – constitutes user interface. • Business Logic Tier – constitutes business logic. • Back end Database – data is stored in database server.
  • 10.
  • 11. Model Layer – It consists the business Logic.  View Layer – It generates response to browser.  Control Layer – It receives the request for application & control way other two layers interact.
  • 12.
  • 14. Struts – An introduction.  Premier framework to design JAVA based web applications.  Based on JSP model 2 architecture.  Fills in controller & view layer, model layer is left to developer.  It is an open source framework.
  • 15. Basic Components of Struts.  Base Framework.  JSP tag libraries. • HTML. • Bean. • Logic. • Nested.  Tiles plug-in.  Validator plug-in.
  • 16. Action Servlet Class.  <web-app>  <servlet>  <servlet-name>action</servlet-name>  Receives All incoming  <servlet-class> HTTP requests. org.apache.struts.action.ActionServlet  </servlet-class> <init-param>   It is mapped in WEB.XML  <param-name>debug</param-name>  <param-value>2</param-value> file.  </init-param>  <init-param>  <param-name>config</param-name>  *.do shows default  <param-value>/WEB-INF/struts- mapping pattern here. config.xml  </param-value>  …  </servlet>  <servlet-mapping>  <servlet-name>action</servlet-name>  <url-pattern>*.do</url-pattern>  </servlet-mapping>  </web-app>
  • 17. Action Class.  import  It is responsible for javax.servlet.http.HttpServletRequest; import processing every javax.servlet.http.HttpServletResponse; request. import org.apache.struts.action.Action;  import org.apache.struts.action.ActionForm;  Transfers data from import view layer to specific org.apache.struts.action.ActionForward; import business process in org.apache.struts.action.ActionMapping; model layer & vice public class UpdateUserAction extends versa. Action {  public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception  { // Perform request processing here.
  • 18. Action Forward Class.  import javax.servlet.http.HttpServletRequest;  It encapsulates importjavax.servlet.http.HttpServletResponse ; import org.apache.struts.action.Action; forward.  Import org.apache.struts.action.ActionForm;  Import org.apache.struts.action.ActionForward;  Forward allows to import use the alternate org.apache.struts.action.ActionMapping;  public class UpdateUserAction extends name for URL’S & Action { public ActionForward then this name is execute(ActionMapping mapping, ActionForm used as reference. form, HttpServletRequest request, HttpServletResponse response) throws Exception  The return type of  { // Perform action processing. return execute() is new ActionForward("updateSuccess");  } ACTIONFORWARD.  }
  • 19. Struts Working Diagram. strut-config.xml 2: Get Mapped Action 3: Invoke mapped Action Bean Controller 1: Post 4: Retrieve Data Browser ActionServlet ActionBean Data Resource Front Controller 5: Establish 7: redirect to bean state, appropriate view then place in 6: Establish Form session or State request object JSP ActionForm Beans 8: Get View The View Information The Model
  • 20.