23:08:07 1
Page 34 : Pas de liens entre les serveurs
24-10
nouveau application d'entretprise j0626
nouveau projet web dynamique demostr
add struts et bibliothèque de balise jsp
diagrame web
... . gph
(page web, connexion, mappage d'action)
/init
/traitement
/affichage
formulaire
reponse
Reference aval local
config :
bean
actions
vues
nouveau bean de formulaire
add n1, n2, res, chop, listop[]
juste travailler dans le try de InitAction.java
traitement
réaliser les vues (formulaire)
>>>> select field
décocher generate field in a form
edit formualire.jsp
13-12
ENVIRONNEMENT - > VAR WEBSPHERE
user define 2ème page
le chemin d'accès dans valeur (répertoire dans lequel se trouve .jar
resources
--> Fournisseur jdbc : Nouveau
Défine & user define
+ changer le nom de la classe d'implémentation (voir as400.hepmbce.be
à droite source de données : nouveau
nom, nom jndi , select une classe auxiliare de magasin de données : selectionner
+ importer qqch (voir cours !!)
Questions ?
Différence entre créer :
Projet d'application d'entreprise puis projet web
et
directement projet web ?
Nouveau servlet // classe déjà existantes ??
Faire initDB : créer nouveau servlet
reprendre web.xml
changer 1ère page
TESTER
créer bean puis les trucs autour
créer nouveau bean... double cliquer
Attention, méthode validate
creer jsp ident
creer action verif forwrd vers menu
English 23-10
no "s" at the 3rd person
they don't need the verb "to do"
no "to" for the infinitive
he can come -> il peut venir
-) to be able to
he may come -> il se peut qu'il vienne
he must come -> il doit venir // il faut qu'il vienne
-) to have to
he could come -> il pourrait venir // il pouvait venir
he might come -> il se pourrait qu'il vienne
he will come -> il viendra
he would come -> il viendrait
he should come -> il devrait venir
he ought to come ->il devrait venir
EXERCICE 4.
1 A ou B
2 B
3 A ou C ou D
4 C
5 B
6 C ou D
7 B
8 A ou C
9 B ou C
10 B ou A ou D
11 A
12 E ou D
13
English 30-10
If clauses
1°) What will you do if you miss your plane
future tense --> present tense
2°) He would have more friends if he was not shy
would + inf --> simple past
3°) you wouldn't have felt ill if you hadn't eate too much
would + perfect inf --> past perfect
wish
I wish i knew miss Galante's phoe number
Simple past
--> regret
I wish I hadn't eaten so much
past perfect
- sorry about smtg
-that happened
-that didn't happen
Exercice 5
1 : B
2 : C
3 : B
4 : D
5 : A
The passive
To be + past participle
SP I am helped
PC I am being helped
SP I was helped
PC I was being helped
Present Perfect S I have been helped
PPC I have been being helped
Past Perfect Simple I had been helped
PPC I had been being helped
F I will be helped
Cond Present I would be helped
Cond Passé I would have been helped
Inf passid to be helped
Ing being helped
Exercice 6
1 C
2 B
3 D
4 A
5 A ou B
6 C
7 D
Page publiée le mercredi 9 janvier 2008 avec iCalepin 2.