J0 1 Marco Ronchetti - Corso di Formazione Sodalia – Febbraio 2001 – Modulo Web Programming Tomcat configuration.

Slides:



Advertisements
Presentazioni simili
Trieste, 26 novembre © 2005 – Renato Lukač Using OSS in Slovenian High Schools doc. dr. Renato Lukač LinuxDay Trieste.
Advertisements

Preposizioni semplici e articolate
Giovanni Falcone & Paolo Borsellino.
IL FUTURO.
L’esperienza di un valutatore nell’ambito del VII FP Valter Sergo
Cache Memory Prof. G. Nicosia University of Catania
Teoria e Tecniche del Riconoscimento
They will read I will study She will walk the dog You guys will win the game!
DG Ricerca Ambientale e Sviluppo FIRMS' FUNDING SCHEMES AND ENVIRONMENTAL PURPOSES IN THE EU STRUCTURAL FUNDS (Monitoring of environmental firms funding.
Laurea Magistrale in Informatica Thecnologies for Innovation
La Scuola School.
Grammar Tips. Meanings of verbs in the present May describe things that are continuing over a period of time.
Each student will be able to ask an adult or stranger: What do you like to do? and What dont you like to …?
1.E un algoritmo ricorsivo: Tutti le istanze di oggetti raggiungibili da un oggetto persistente diventano anchessi persistenti.
© and ® 2011 Vista Higher Learning, Inc.4B.1-1 Punto di partenza Italian uses two principal tenses to talk about events in the past: the passato prossimo.
L’albero della famiglia
Il presente del congiuntivo (the present subjunctive)
Il presente del congiuntivo (the present subjunctive)
Raffaele Cirullo Head of New Media Seconda Giornata italiana della statistica Aziende e bigdata.
Costruzione di Interfacce Lezione 10 Dal Java al C++ parte 1
2000 Prentice Hall, Inc. All rights reserved. 1 Capitolo 3 - Functions Outline 3.1Introduction 3.2Program Components in C++ 3.3Math Library Functions 3.4Functions.
Chistmas is the most loved holiday of the years. Adults and children look forward to Chistmas and its magical atmosphere. It is traditional to decorate.
HERES OUR SCHOOL.. 32 years ago this huge palace was built and it was just the beginning; It is becoming larger and larger as a lot of students choose.
Players: 3 to 10, or teams. Aim of the game: find a name, starting with a specific letter, for each category. You need: internet connection laptop.
Concord A tool for the analysis and concordances of the terminological constituents P. Plini, N. Mastidoro* * - Èulogos, Rome Institute for Atmospheric.
:53:34 Dove va a morire il sole, dove il vento si riposa,
English Course Gentile studente,
Emma Project INCONTRO
Guardate le seguenti due frasi:
ROBINSON CRUSOE ROBINSON CRUSOE’S ISLAND L’ ISOLA DI
Come nella stampa tradizionale, un giornale online può essere di informazione informazione o un periodico dedicato a una disciplina specifica.
Enzo Anselmo Ferrari By Giovanni Amicucci. Di Enzo Questo è Enzo Anselmo Ferrari. Enzo compleanno è diciotto febbraio Enzo muore è quattordici agosto.
Project Review Novembrer 17th, Project Review Agenda: Project goals User stories – use cases – scenarios Project plan summary Status as of November.
Enzo anselmo ferrari By: Orazio Nahar.
In the following slides there are photos and work of Primary School Via Fiume Ins. Maria Aurelia Cosentino Part 1 Our place, our water…
ITALIAN FASHION PROJECT Chris Wood & Jacob Stramanak Italian 6B October 2013.
EMPOWERMENT OF VULNERABLE PEOPLE An integrated project.
The Beatles. Love, love, Love. Love, Love, Love. Love, Love, Love. There's nothing you can do that can't be done. Nothing you can sing that can't be sung.
Introduction to automatic ABMs documentation Keywords: Doxygen ODD protocol MASON documentation Simone Romano.
Teorie e tecniche della Comunicazione di massa Lezione 7 – 14 maggio 2014.
You’ve got a friend in me!
Passato Prossimo. What is it?  Passato Prossimo is a past tense and it is equivalent to our:  “ed” as in she studied  Or “has” + “ed” as in she has.
Italian 1 -- Capitolo 2 -- Strutture
I giorni della settimana
PINK FLOYD DOGS You gotta be crazy, you gotta have a real need. You gotta sleep on your toes. And when you're on the street. You gotta be able to pick.
4/20/20151 Metodi formali dello sviluppo software a.a.2013/2014 Prof. Anna Labella.
Love, Love, Love. Love, Love, Love. Love, Love, Love. There's nothing you can do that can't be done. Nothing you can sing that can't be sung. Nothing.
ALL YOU NEED IS LOVE Love, Love, Love. There's nothing you can do that can't be done. Nothing you can sing that can't be sung. Nothing you can say but.
MyEconLab_Univerità degli studi di Milano, corso Prof.ssa Valentina Raimondi How to Access MyEconLab 1.
L A R OUTINE D EL M ATTINO Ellie B.. Io mi sono svegliata alle cinque del mattino.
Let It Be – Beatles When I find myself in times of trouble Mother Mary comes to me Speaking words of wisdom, let it be. And in my hour of darkness.
LE PREPOSIZIONI. Le Preposizioni semplici (Simple prepositions) A preposition describes a relationship between other words in a sentence. In itself, a.
Buon giorno, ragazzi oggi è il quattro aprile duemilasedici.
LE INDICAZIONI. CHIEDERE INFORMAZIONI E INDICAZIONI : ASKING FOR INFORMATION & DIRECTIONS.
MSc in Communication Sciences Program in Technologies for Human Communication Davide Eynard Facoltà di scienze della comunicazione Università della.
Do You Want To Pass Actual Exam in 1 st Attempt?.
WRITING – EXERCISE TYPES
Lingua comunitaria lesson 8
Calorimetro LAR ATLAS Italia Roma 28 novembre 2008
Telling the time in Italian
Imparare i pronomi e il verbo essere
Cyber Safety.
Adolf Luther Born 1912 in Krefeld, Germany. Died 1990 Krefeld.
Il condizionale.
Proposal for the Piceno Lab on Mediterranean Diet
Preliminary results of DESY drift chambers efficiency test
Accesso al corpus it. / ing. parola cercata sintagmi preposizioni.
REALIZZARE UN’ANIMAZIONE: Il conto alla rovescia
Wikipedia Wikipedia è un'enciclopedia online, collaborativa e libera. Grazie al contributo di volontari da tutto il mondo, Wikipedia ad ora è disponibile.
Transcript della presentazione:

J0 1 Marco Ronchetti - Corso di Formazione Sodalia – Febbraio 2001 – Modulo Web Programming Tomcat configuration

J0 2 Marco Ronchetti - Corso di Formazione Sodalia – Febbraio 2001 – Modulo Web Programming To let Tomcat serve static pages, we must define a Web Application. That is, in the Tomcat Document Root (by default $CATALINA_HOME/webapps/) we must create a folder named after our Web Application (e.g. myApp). In that myApp folder, we MUST create a WEB-INF folder (that can be empy). In the myApp folder we can then depost the static html files. On our Tomcat server, the URL for the hello.html file becomes: To actually see the webapp, we must then restart Tomcat Static pages myApp hello.html WEB-INF webapps

J0 3 Marco Ronchetti - Corso di Formazione Sodalia – Febbraio 2001 – Modulo Web Programming To let Tomcat serve JSP pages, we follow the same procedure that we described for static pages. In the myApp folder we can depost the JSP files. On our Tomcat server, the URL for the hello.jsp file becomes: The WEB-INF directory is still empty. To actually see the webapp, we must then restart Tomcat JSP pages myApp hello.jsp WEB-INF webapps

J0 4 Marco Ronchetti - Corso di Formazione Sodalia – Febbraio 2001 – Modulo Web Programming To let Tomcat serve servlet, we need add some info. The compiled servlets (.class) must be stored in a classes directory in WEB-INF. Moreover, the web.xml file MUST contain at least: <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" " invoker /magic/* The magic word is the servlet activation keyword (you can of course customize this word). To execute the servlet called MyServlet.class, the URL will be: Servlets

J0 5 Marco Ronchetti - Corso di Formazione Sodalia – Febbraio 2001 – Modulo Web Programming The web.xml file CAN contain many additional info. For instance, it can contain a section defining an alias name for the servlet: … pippo Servlet1 … In such case, the servlet called MyServlet.class Can be activated ALSO by the URL: Servlets myApp web.xml WEB-INF webapps classes MyServlet.class