SlideShare a Scribd company logo
1 of 18
Jakarta Struts Jacopo Giudici [email_address]
Obbiettivi ,[object Object]
Cosa è struts? ,[object Object],[object Object],[object Object]
MVC Pattern MODELLO incapsula lo stato della applicazione risponde alle richieste della VISTA CONTROLLER mappa le richieste dell'utente in azioni da effetuare sul modello seleziona una vista in base alle richieste dell'utente e all'esito della azione sul modello VISTA invia al controller le richieste dell'utente gestisce la presentazione del modello all'utente seleziona una vista richiesta utente modifica lo stato interroga il modello
Vantaggi nell’utilizzo di MVC ,[object Object],[object Object],[object Object]
Il funzionamento di struts JSP struts-config .xml Action Servlet Action Mapping Action Form Action Action Forward Business Objects JSP 1 2 3 4 4 4 5 6 7 7
Spiegazione (I) ,[object Object],[object Object],[object Object]
Spiegazione (II) ,[object Object],[object Object],[object Object],[object Object]
QUINDI… ,[object Object],[object Object],[object Object]
Prima applicazione ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
I componenti di struts (I) ,[object Object],[object Object],[object Object]
I componenti di struts (II) ,[object Object],[object Object],[object Object],[object Object],[object Object]
L’applicazione blank ,[object Object],[object Object],[object Object]
Pagina index di struts-blank
Componenti dell’applicazione blank ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
File WEB-INF/web.xml ,[object Object],[object Object],[object Object],[object Object],[object Object]
WEB-INF/struts-config.xml ,[object Object],[object Object],[object Object],[object Object],[object Object]
index.jsp e pages/Welcome.jsp ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]

More Related Content

Viewers also liked

Activity streams Lightning Talk, DjangoCon 2011, Day3
Activity streams Lightning Talk, DjangoCon 2011, Day3Activity streams Lightning Talk, DjangoCon 2011, Day3
Activity streams Lightning Talk, DjangoCon 2011, Day3Steve Ivy
 
Demystifying share point site definitions SharePoint 2007
Demystifying share point site definitions SharePoint 2007Demystifying share point site definitions SharePoint 2007
Demystifying share point site definitions SharePoint 2007Marwan Tarek
 
Jakarta Founder institute - StartUp Ideation
Jakarta Founder institute - StartUp IdeationJakarta Founder institute - StartUp Ideation
Jakarta Founder institute - StartUp IdeationAndy Zain
 
P6.C Explaining Refraction
P6.C Explaining RefractionP6.C Explaining Refraction
P6.C Explaining Refractionpaulbhill
 
Hack the Hood: Transforming Youth & Local Small Business through Project-Base...
Hack the Hood: Transforming Youth & Local Small Business through Project-Base...Hack the Hood: Transforming Youth & Local Small Business through Project-Base...
Hack the Hood: Transforming Youth & Local Small Business through Project-Base...Hack the Hood
 
تحميل مشروع ميـــزانيـــة بلديــــة المـروج لسنـة 2016
تحميل مشروع ميـــزانيـــة بلديــــة المـروج لسنـة 2016تحميل مشروع ميـــزانيـــة بلديــــة المـروج لسنـة 2016
تحميل مشروع ميـــزانيـــة بلديــــة المـروج لسنـة 2016Mohamed Larbi BEN YOUNES
 
Feb 18 what we learned kcic
Feb 18  what we learned kcic Feb 18  what we learned kcic
Feb 18 what we learned kcic Hack the Hood
 
Questionnaires 2nd part
Questionnaires 2nd partQuestionnaires 2nd part
Questionnaires 2nd partRositsa Dimova
 
Using the CMMI-SVC to Transform an Organization into a High-Functioning, Cust...
Using the CMMI-SVC to Transform an Organization into a High-Functioning, Cust...Using the CMMI-SVC to Transform an Organization into a High-Functioning, Cust...
Using the CMMI-SVC to Transform an Organization into a High-Functioning, Cust...Henry Schneider
 
Kcic boot camp oct 2011 idea to implementation 2011
Kcic boot camp oct 2011 idea to implementation 2011Kcic boot camp oct 2011 idea to implementation 2011
Kcic boot camp oct 2011 idea to implementation 2011Hack the Hood
 
Design proposal : pratical toolbox on web usability
Design proposal : pratical toolbox on web usabilityDesign proposal : pratical toolbox on web usability
Design proposal : pratical toolbox on web usabilityRuby Kuo
 

Viewers also liked (20)

Adventure in italy
Adventure in italyAdventure in italy
Adventure in italy
 
Activity streams Lightning Talk, DjangoCon 2011, Day3
Activity streams Lightning Talk, DjangoCon 2011, Day3Activity streams Lightning Talk, DjangoCon 2011, Day3
Activity streams Lightning Talk, DjangoCon 2011, Day3
 
Demystifying share point site definitions SharePoint 2007
Demystifying share point site definitions SharePoint 2007Demystifying share point site definitions SharePoint 2007
Demystifying share point site definitions SharePoint 2007
 
Radina the school
Radina the schoolRadina the school
Radina the school
 
The Measure
The MeasureThe Measure
The Measure
 
Zlatka
ZlatkaZlatka
Zlatka
 
Jakarta Founder institute - StartUp Ideation
Jakarta Founder institute - StartUp IdeationJakarta Founder institute - StartUp Ideation
Jakarta Founder institute - StartUp Ideation
 
P6.C Explaining Refraction
P6.C Explaining RefractionP6.C Explaining Refraction
P6.C Explaining Refraction
 
Hack the Hood: Transforming Youth & Local Small Business through Project-Base...
Hack the Hood: Transforming Youth & Local Small Business through Project-Base...Hack the Hood: Transforming Youth & Local Small Business through Project-Base...
Hack the Hood: Transforming Youth & Local Small Business through Project-Base...
 
Designcorpsinternet
DesigncorpsinternetDesigncorpsinternet
Designcorpsinternet
 
Journey to poland
Journey to polandJourney to poland
Journey to poland
 
تحميل مشروع ميـــزانيـــة بلديــــة المـروج لسنـة 2016
تحميل مشروع ميـــزانيـــة بلديــــة المـروج لسنـة 2016تحميل مشروع ميـــزانيـــة بلديــــة المـروج لسنـة 2016
تحميل مشروع ميـــزانيـــة بلديــــة المـروج لسنـة 2016
 
Feb 18 what we learned kcic
Feb 18  what we learned kcic Feb 18  what we learned kcic
Feb 18 what we learned kcic
 
Questionnaires 2nd part
Questionnaires 2nd partQuestionnaires 2nd part
Questionnaires 2nd part
 
Journées de l’Europe, 24-26 mai 2016
Journées de l’Europe, 24-26 mai 2016Journées de l’Europe, 24-26 mai 2016
Journées de l’Europe, 24-26 mai 2016
 
Using the CMMI-SVC to Transform an Organization into a High-Functioning, Cust...
Using the CMMI-SVC to Transform an Organization into a High-Functioning, Cust...Using the CMMI-SVC to Transform an Organization into a High-Functioning, Cust...
Using the CMMI-SVC to Transform an Organization into a High-Functioning, Cust...
 
Kcic boot camp oct 2011 idea to implementation 2011
Kcic boot camp oct 2011 idea to implementation 2011Kcic boot camp oct 2011 idea to implementation 2011
Kcic boot camp oct 2011 idea to implementation 2011
 
Do italia sas samolet
Do italia sas samoletDo italia sas samolet
Do italia sas samolet
 
Buku rekod
Buku rekodBuku rekod
Buku rekod
 
Design proposal : pratical toolbox on web usability
Design proposal : pratical toolbox on web usabilityDesign proposal : pratical toolbox on web usability
Design proposal : pratical toolbox on web usability
 

Similar to Jakarta Struts

Struts - Overview, Installazione e Setup
Struts - Overview, Installazione e SetupStruts - Overview, Installazione e Setup
Struts - Overview, Installazione e SetupFederico Paparoni
 
02 Struts Actions3016
02 Struts Actions301602 Struts Actions3016
02 Struts Actions3016DavideBos
 
02 Struts Actions3016
02 Struts Actions301602 Struts Actions3016
02 Struts Actions3016DavideBos
 
Progetto SOD Davide Sito
Progetto SOD Davide SitoProgetto SOD Davide Sito
Progetto SOD Davide SitoDavide Sito
 
Dependency injection questa sconosciuta
Dependency injection questa sconosciutaDependency injection questa sconosciuta
Dependency injection questa sconosciutaAndrea Dottor
 
Web Api – The HTTP Way
Web Api – The HTTP WayWeb Api – The HTTP Way
Web Api – The HTTP WayLuca Milan
 
Struttin' on, novità in casa Struts
Struttin' on, novità in casa StrutsStruttin' on, novità in casa Struts
Struttin' on, novità in casa StrutsMarcello Teodori
 
AreaMVC: un'architettura software basata sulla semplicità
AreaMVC: un'architettura software basata sulla semplicitàAreaMVC: un'architettura software basata sulla semplicità
AreaMVC: un'architettura software basata sulla semplicitàGiulio Destri
 
Asp.net 4 Community Tour VS2010
Asp.net 4 Community Tour VS2010Asp.net 4 Community Tour VS2010
Asp.net 4 Community Tour VS2010Fabrizio Bernabei
 
SPRING - MAVEN - REST API (ITA - Luglio 2017)
SPRING - MAVEN - REST API (ITA - Luglio 2017)SPRING - MAVEN - REST API (ITA - Luglio 2017)
SPRING - MAVEN - REST API (ITA - Luglio 2017)Valerio Radice
 
Asp.Net MVC 2 :: VS 2010 Community Tour
Asp.Net MVC 2 :: VS 2010 Community TourAsp.Net MVC 2 :: VS 2010 Community Tour
Asp.Net MVC 2 :: VS 2010 Community TourAndrea Balducci
 

Similar to Jakarta Struts (20)

Introduzione a Struts
Introduzione a StrutsIntroduzione a Struts
Introduzione a Struts
 
Many Designs Elements
Many Designs ElementsMany Designs Elements
Many Designs Elements
 
Struts - Overview, Installazione e Setup
Struts - Overview, Installazione e SetupStruts - Overview, Installazione e Setup
Struts - Overview, Installazione e Setup
 
02 Struts Actions3016
02 Struts Actions301602 Struts Actions3016
02 Struts Actions3016
 
02 Struts Actions3016
02 Struts Actions301602 Struts Actions3016
02 Struts Actions3016
 
02 Struts Actions
02  Struts  Actions02  Struts  Actions
02 Struts Actions
 
Progetto SOD Davide Sito
Progetto SOD Davide SitoProgetto SOD Davide Sito
Progetto SOD Davide Sito
 
Dependency injection questa sconosciuta
Dependency injection questa sconosciutaDependency injection questa sconosciuta
Dependency injection questa sconosciuta
 
MVC and Struts 1
MVC and Struts 1MVC and Struts 1
MVC and Struts 1
 
Java lezione 14
Java lezione 14Java lezione 14
Java lezione 14
 
Web Api – The HTTP Way
Web Api – The HTTP WayWeb Api – The HTTP Way
Web Api – The HTTP Way
 
Laravel Framework PHP
Laravel Framework PHPLaravel Framework PHP
Laravel Framework PHP
 
Struttin' on, novità in casa Struts
Struttin' on, novità in casa StrutsStruttin' on, novità in casa Struts
Struttin' on, novità in casa Struts
 
AreaMVC: un'architettura software basata sulla semplicità
AreaMVC: un'architettura software basata sulla semplicitàAreaMVC: un'architettura software basata sulla semplicità
AreaMVC: un'architettura software basata sulla semplicità
 
Novità di Asp.Net 4.0
Novità di Asp.Net 4.0Novità di Asp.Net 4.0
Novità di Asp.Net 4.0
 
Asp.net 4 Community Tour VS2010
Asp.net 4 Community Tour VS2010Asp.net 4 Community Tour VS2010
Asp.net 4 Community Tour VS2010
 
Notes for an Enterprise Scheduling Distributed Application
Notes for an Enterprise Scheduling Distributed ApplicationNotes for an Enterprise Scheduling Distributed Application
Notes for an Enterprise Scheduling Distributed Application
 
SPRING - MAVEN - REST API (ITA - Luglio 2017)
SPRING - MAVEN - REST API (ITA - Luglio 2017)SPRING - MAVEN - REST API (ITA - Luglio 2017)
SPRING - MAVEN - REST API (ITA - Luglio 2017)
 
Java lezione 17
Java lezione 17Java lezione 17
Java lezione 17
 
Asp.Net MVC 2 :: VS 2010 Community Tour
Asp.Net MVC 2 :: VS 2010 Community TourAsp.Net MVC 2 :: VS 2010 Community Tour
Asp.Net MVC 2 :: VS 2010 Community Tour
 

Jakarta Struts

  • 1. Jakarta Struts Jacopo Giudici [email_address]
  • 2.
  • 3.
  • 4. MVC Pattern MODELLO incapsula lo stato della applicazione risponde alle richieste della VISTA CONTROLLER mappa le richieste dell'utente in azioni da effetuare sul modello seleziona una vista in base alle richieste dell'utente e all'esito della azione sul modello VISTA invia al controller le richieste dell'utente gestisce la presentazione del modello all'utente seleziona una vista richiesta utente modifica lo stato interroga il modello
  • 5.
  • 6. Il funzionamento di struts JSP struts-config .xml Action Servlet Action Mapping Action Form Action Action Forward Business Objects JSP 1 2 3 4 4 4 5 6 7 7
  • 7.
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14. Pagina index di struts-blank
  • 15.
  • 16.
  • 17.
  • 18.