IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Servlets/JSP Java Discussion :

Effacer des fichiers temporaires


Sujet :

Servlets/JSP Java

  1. #21
    Membre du Club
    Inscrit en
    Avril 2003
    Messages
    74
    Détails du profil
    Informations forums :
    Inscription : Avril 2003
    Messages : 74
    Points : 41
    Points
    41
    Par défaut
    Je teste ça de suite, le temps de le mettre en place et je te fais un retour.
    Merci bcp !

  2. #22
    Membre chevronné
    Homme Profil pro
    Directeur technique
    Inscrit en
    Janvier 2007
    Messages
    1 348
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 47
    Localisation : France, Paris (Île de France)

    Informations professionnelles :
    Activité : Directeur technique

    Informations forums :
    Inscription : Janvier 2007
    Messages : 1 348
    Points : 1 787
    Points
    1 787
    Par défaut
    De rien !
    Pas sûr que ça marche du premier coup, j'ai pas vraiment testé, il y aura peut etre des ajustements à faire ...

  3. #23
    Membre du Club
    Inscrit en
    Avril 2003
    Messages
    74
    Détails du profil
    Informations forums :
    Inscription : Avril 2003
    Messages : 74
    Points : 41
    Points
    41
    Par défaut
    une petite question : A quel moment dois-je appeler cette servlet ? Dois-je l'inclurer dans ma servlet d'origine ?

  4. #24
    Membre chevronné
    Homme Profil pro
    Directeur technique
    Inscrit en
    Janvier 2007
    Messages
    1 348
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 47
    Localisation : France, Paris (Île de France)

    Informations professionnelles :
    Activité : Directeur technique

    Informations forums :
    Inscription : Janvier 2007
    Messages : 1 348
    Points : 1 787
    Points
    1 787
    Par défaut
    Non tu n'as pas à l'appeler par la première Servlet, c'est le navigateur qui l'appelera en essayant de charger les images (regarde le processus que je t'avais décrit)

  5. #25
    Membre du Club
    Inscrit en
    Avril 2003
    Messages
    74
    Détails du profil
    Informations forums :
    Inscription : Avril 2003
    Messages : 74
    Points : 41
    Points
    41
    Par défaut
    Ok, autant pour moi.
    donc après test, l'image ne s'affiche pas, l'icone du lien cassé s'affiche.

    Je te fournit un extrait du code source de la page concernant l'image :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    					<div>
    						<map name="/birt-web-project/images/custom18cef1811a0bfd93d42.png"><AREA  shape="poly" coords="152,193,152,206,153,206,153,193" title="2"/><AREA  shape="poly" coords="152,139,152,152,153,152,153,139" title="2"/><AREA  shape="poly" coords="152,112,152,126,159,126,159,112" title="9"/><AREA  shape="poly" coords="152,85,152,99,154,99,154,85" title="3"/><AREA  shape="poly" coords="152,59,152,72,154,72,154,59" title="3"/><AREA  shape="poly" coords="154,85,154,99,159,99,159,85" title="7"/><AREA  shape="poly" coords="159,85,159,99,160,99,160,85" title="2"/><AREA  shape="poly" coords="160,85,160,99,164,99,164,85" title="6"/><AREA  shape="poly" coords="152,166,152,179,153,179,153,166" title="2"/><AREA  shape="poly" coords="164,85,164,99,175,99,175,85" title="14"/><AREA  shape="poly" coords="159,112,159,126,160,126,160,112" title="2"/><AREA  shape="poly" coords="175,85,175,99,184,99,184,85" title="11"/><AREA  shape="poly" coords="184,85,184,99,185,99,185,85" title="2"/><AREA  shape="poly" coords="153,166,153,179,157,179,157,166" title="5"/><AREA  shape="poly" coords="160,112,160,126,161,126,161,112" title="2"/><AREA  shape="poly" coords="185,85,185,99,400,99,400,85" title="261"/></map>
    						<img class="style_14" id="AUTOGENBOOKMARK_28" src="/birt-web-project/images/custom18cef1811a0bfd93d42.png" usemap="#/birt-web-project/images/custom18cef1811a0bfd93d42.png" alt="" style=" width: 6.59375in; height: 2.6041666667in;">
    					</div>
    Pour info, l'URL de l'image quand j'affiche les propriétés de celle-ci est : http://localhost:8080/birt-web-proje...a0bfd93d42.png

    Enfin, les fichiers temporaires sont toujours présents dans mon repertoire d'images.

  6. #26
    Membre chevronné
    Homme Profil pro
    Directeur technique
    Inscrit en
    Janvier 2007
    Messages
    1 348
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 47
    Localisation : France, Paris (Île de France)

    Informations professionnelles :
    Activité : Directeur technique

    Informations forums :
    Inscription : Janvier 2007
    Messages : 1 348
    Points : 1 787
    Points
    1 787
    Par défaut
    D'abord, il faut changer dans le code que je t'ai donner pour avoir le content type "image/png".
    Ensuite, tu peux mettre l'url de l'image http://localhost:8080/birt-web-proje...a0bfd93d42.png dans ton navigateur directement et me dire ce que tu obtiens ?

  7. #27
    Membre du Club
    Inscrit en
    Avril 2003
    Messages
    74
    Détails du profil
    Informations forums :
    Inscription : Avril 2003
    Messages : 74
    Points : 41
    Points
    41
    Par défaut
    J'avais bien changé le content type par contre quand je mets l'URL de l'image dans le navigateur, rien ne s'affiche.

  8. #28
    Membre chevronné
    Homme Profil pro
    Directeur technique
    Inscrit en
    Janvier 2007
    Messages
    1 348
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 47
    Localisation : France, Paris (Île de France)

    Informations professionnelles :
    Activité : Directeur technique

    Informations forums :
    Inscription : Janvier 2007
    Messages : 1 348
    Points : 1 787
    Points
    1 787
    Par défaut
    Affiche le code source. Tu n'as rien du tout ? Et il n'y a aucune erreur ?

  9. #29
    Membre du Club
    Inscrit en
    Avril 2003
    Messages
    74
    Détails du profil
    Informations forums :
    Inscription : Avril 2003
    Messages : 74
    Points : 41
    Points
    41
    Par défaut
    le source de l'image est :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <HTML><HEAD>
    <META http-equiv=Content-Type content="text/html; charset=windows-1252"></HEAD>
    <BODY></BODY></HTML>
    et de la page dans son ensemble :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
    154
    155
    156
    157
    158
    159
    160
    161
    162
    163
    164
    165
    166
    167
    168
    169
    170
    171
    172
    173
    174
    175
    176
    177
    178
    179
    180
    181
    182
    183
    184
    185
    186
    187
    188
    189
    190
    191
    192
    193
    194
    195
    196
    197
    198
    199
    200
    201
    202
    203
    204
    205
    206
    207
    208
    209
    210
    211
    212
    213
    214
    215
    216
    217
    218
    219
    220
    221
    222
    223
    224
    225
    226
    227
    228
    229
    230
    231
    232
    233
    234
    235
    236
    237
    238
    239
    240
    241
    242
    243
    244
    245
    246
    247
    248
    249
    250
    251
    252
    253
    254
    255
    256
    257
    258
    259
    260
    261
    262
    263
    264
    265
    266
    267
    268
    269
    270
    271
    272
    273
    274
    275
    276
    277
    278
    279
    280
    281
    282
    283
    284
    285
    286
    287
    288
    289
    290
    291
    292
    293
    294
    295
    296
    297
    298
    299
    300
    301
    302
    303
    304
    305
    306
    307
    308
    309
    310
    311
    312
    313
    314
    315
    316
    317
    318
    319
    320
    321
    322
    323
    324
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    	<head>
    		<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
    		<style type="text/css">
                                    .style_report { font-family: serif; font-style: normal; font-variant: normal; font-weight: normal; font-size: medium; color: black; text-indent: 0em; letter-spacing: normal; word-spacing: normal; text-transform: none; white-space: normal; line-height: normal;}
                                    .style_2 { background-color: rgb(102, 0, 102);}
                                    .style_3 { font-family: Verdana; font-weight: bold; font-size: larger; color: rgb(255, 255, 255); background-color: rgb(102, 0, 102);}
                                    .style_4 { font-family: Verdana; font-style: italic; font-size: medium; margin-top: 0pt; margin-left: 20pt; padding-top: 1pt;}
                                    .style_5 { margin-top: 0pt; margin-bottom: 0pt; margin-left: 0pt; border: 1px solid rgb(102, 0, 102);}
                                    .style_0 { font-family: serif; font-style: normal; font-variant: normal; font-weight: normal; font-size: medium; color: black; text-indent: 0em; letter-spacing: normal; word-spacing: normal; text-transform: none; white-space: normal; line-height: normal;}
                                    .style_1 { font-family: Verdana; font-size: small;}
                                    .style_6 { font-family: Verdana; font-size: small; border-left: 1px solid rgb(102, 0, 102);}
                                    .style_7 { font-family: Verdana; font-style: italic; font-weight: bold; font-size: small; color: rgb(51, 102, 0); border-top: 1px solid rgb(102, 0, 102); border-left: 1px solid rgb(102, 0, 102); background-color: rgb(192, 192, 192);}
                                    .style_8 { font-family: Verdana; font-style: italic; color: rgb(51, 102, 0); border-top: 1px solid rgb(102, 0, 102); background-color: rgb(192, 192, 192);}
                                    .style_9 { font-family: Verdana; font-style: italic; color: rgb(51, 102, 0);}
                                    .style_10 { font-family: Verdana; color: rgb(255, 255, 255); padding-top: 1pt; border: 1px solid rgb(102, 0, 102); background-color: rgb(102, 0, 102);}
                                    .style_12 { margin-top: 0pt; margin-left: 0pt;}
                                    .style_11 { font-family: Verdana; font-weight: normal; color: rgb(102, 0, 102); border: 1px solid rgb(102, 0, 102);}
                    </style>
    		<!--[if gte IE 5.5000]>
    		   <script language="JavaScript"> var ie55up = true </script>
    		<![endif]-->
    		<script language="JavaScript">
    		   function fixPNG(myImage) // correctly handle PNG transparency in Win IE 5.5 or higher.
    		      {
    		      if (window.ie55up)
    		         {
    		         var imgID = (myImage.id) ? "id='" + myImage.id + "' " : ""
    		         var imgClass = (myImage.className) ? "class='" + myImage.className + "' " : ""
    		         var imgTitle = (myImage.title) ? "title='" + myImage.title + "' " : "title='" + myImage.alt + "' "
    		         var imgStyle = "display:inline-block;" + myImage.style.cssText
    		         var strNewHTML = "<span " + imgID + imgClass + imgTitle
    		         strNewHTML += " style=\"" + "width:" + myImage.width + "px; height:" + myImage.height + "px;" + imgStyle + ";"
    		         strNewHTML += "filter:progid:DXImageTransform.Microsoft.AlphaImageLoader"
    		         strNewHTML += "(src=\'" + myImage.src + "\', sizingMethod='scale');\"></span>"
    		         myImage.outerHTML = strNewHTML
    		         }
    		      }
    		</script>
    		<script language="javascript">
    		          function redirect(target, url){
     
    		                          if (target =='_blank'){
     
    		                                          open(url);
     
    		                          }
     
    		                          else if (target == '_top'){
     
    		          window.top.location.href=url;
     
    		                          }
     
    		                          else if (target == '_parent'){
     
    		          location.href=url;
     
    		                          }
     
    		                          else if (target == '_self'){
     
    		          location.href =url;
     
    		                          }
     
    		                          else{
     
    		                                          open(url);
     
    		                          }
     
    		          }
     
    		</script>
    	</head>
    	<body class="style_report" style=" margin:0px;">
    		<table cellpadding="0" style=" border-collapse: collapse; empty-cells: show; width:100%;">
    			<col>
    			<tr>
    				<td></td>
    			</tr>
    			<tr>
    				<td valign="top">
    					<table style="border-collapse: collapse; empty-cells: show; width: 100%;" id="AUTOGENBOOKMARK_1">
    						<col style=" width: 1.40625in;">
    						<col>
    						<tr valign="top" align="left">
    							<td class="style_2">
    								<div>
    									<img id="AUTOGENBOOKMARK_2" src="/birt-web-project/images/designa33d0011a0c1d65571" alt="">
    								</div>
    							</td>
    							<td class="style_3" valign="middle">
    								<div id="AUTOGENBOOKMARK_3">Nombre de demandes par criticit&#xe9; et statuts</div>
    							</td>
    						</tr>
    					</table>
    					<div>
    						<br>
    						<br>
    					</div>
    					<div class="style_4">Type d'Issue : Tous</div>
    					<div>
    						<br>
    						<br>
    					</div>
    					<table style="border-collapse: collapse; empty-cells: show; width: 100%; margin-top: 0pt; margin-bottom: 0pt; margin-left: 0pt; border: 1px solid rgb(102, 0, 102);" id="AUTOGENBOOKMARK_4">
    						<col>
    						<col>
    						<col>
    						<col>
    						<col>
    						<col>
    						<col>
    						<col>
    						<col>
    						<col>
    						<col>
    						<tr valign="top" align="left">
    							<th rowspan="2" style="font-weight: normal;"></th>
    							<th style=" font-family: Verdana; font-weight: normal; color: rgb(102, 0, 102); border-top: 1px solid rgb(102, 0, 102); border-right: 1px solid rgb(102, 0, 102); border-bottom: 1px solid rgb(102, 0, 102); border-left: 1px solid rgb(102, 0, 102);">
    								<div>1/Nouveau</div>
    							</th>
    							<th style=" font-family: Verdana; font-weight: normal; color: rgb(102, 0, 102); border-top: 1px solid rgb(102, 0, 102); border-right: 1px solid rgb(102, 0, 102); border-bottom: 1px solid rgb(102, 0, 102); border-left: 1px solid rgb(102, 0, 102);">
    								<div>10/Annul&#xe9;</div>
    							</th>
    							<th style=" font-family: Verdana; font-weight: normal; color: rgb(102, 0, 102); border-top: 1px solid rgb(102, 0, 102); border-right: 1px solid rgb(102, 0, 102); border-bottom: 1px solid rgb(102, 0, 102); border-left: 1px solid rgb(102, 0, 102);">
    								<div>11/R&#xe9;-ouvert</div>
    							</th>
    							<th style=" font-family: Verdana; font-weight: normal; color: rgb(102, 0, 102); border-top: 1px solid rgb(102, 0, 102); border-right: 1px solid rgb(102, 0, 102); border-bottom: 1px solid rgb(102, 0, 102); border-left: 1px solid rgb(102, 0, 102);">
    								<div>2/Pris en compte</div>
    							</th>
    							<th style=" font-family: Verdana; font-weight: normal; color: rgb(102, 0, 102); border-top: 1px solid rgb(102, 0, 102); border-right: 1px solid rgb(102, 0, 102); border-bottom: 1px solid rgb(102, 0, 102); border-left: 1px solid rgb(102, 0, 102);">
    								<div>3/En cours</div>
    							</th>
    							<th style=" font-family: Verdana; font-weight: normal; color: rgb(102, 0, 102); border-top: 1px solid rgb(102, 0, 102); border-right: 1px solid rgb(102, 0, 102); border-bottom: 1px solid rgb(102, 0, 102); border-left: 1px solid rgb(102, 0, 102);">
    								<div>4/Escalad&#xe9; au N2</div>
    							</th>
    							<th style=" font-family: Verdana; font-weight: normal; color: rgb(102, 0, 102); border-top: 1px solid rgb(102, 0, 102); border-right: 1px solid rgb(102, 0, 102); border-bottom: 1px solid rgb(102, 0, 102); border-left: 1px solid rgb(102, 0, 102);">
    								<div>7/R&#xe9;solu</div>
    							</th>
    							<th style=" font-family: Verdana; font-weight: normal; color: rgb(102, 0, 102); border-top: 1px solid rgb(102, 0, 102); border-right: 1px solid rgb(102, 0, 102); border-bottom: 1px solid rgb(102, 0, 102); border-left: 1px solid rgb(102, 0, 102);">
    								<div>8/En attente</div>
    							</th>
    							<th style=" font-family: Verdana; font-weight: normal; color: rgb(102, 0, 102); border-top: 1px solid rgb(102, 0, 102); border-right: 1px solid rgb(102, 0, 102); border-bottom: 1px solid rgb(102, 0, 102); border-left: 1px solid rgb(102, 0, 102);">
    								<div>9/Clos</div>
    							</th>
    							<th style=" font-family: Verdana; color: rgb(255, 255, 255);font-weight: normal; padding-top: 1pt; border-top: 1px solid rgb(102, 0, 102); border-right: 1px solid rgb(102, 0, 102); border-bottom: 1px solid rgb(102, 0, 102); border-left: 1px solid rgb(102, 0, 102); background-color: rgb(102, 0, 102);">
    								<div id="AUTOGENBOOKMARK_5">Total</div>
    							</th>
    						</tr>
    						<tr valign="top" align="left">
    							<th style="font-weight: normal;"></th>
    							<th style="font-weight: normal;"></th>
    							<th style="font-weight: normal;"></th>
    							<th style="font-weight: normal;"></th>
    							<th style="font-weight: normal;"></th>
    							<th style="font-weight: normal;"></th>
    							<th style="font-weight: normal;"></th>
    							<th style="font-weight: normal;"></th>
    							<th style="font-weight: normal;"></th>
    							<th style="font-weight: normal;"></th>
    						</tr>
    						<tr valign="top" align="left" id="AUTOGENBOOKMARK_6">
    							<td style=" font-family: Verdana; font-style: italic; color: rgb(51, 102, 0);">
    								<div>Bloquant</div>
    							</td>
    							<td style=" font-family: Verdana; font-size: small; border-left: 1px solid rgb(102, 0, 102);" align="center">
    								<div>10</div>
    							</td>
    							<td style=" font-family: Verdana; font-size: small; border-left: 1px solid rgb(102, 0, 102);" align="center">
    								<div>2</div>
    							</td>
    							<td style=" font-family: Verdana; font-size: small; border-left: 1px solid rgb(102, 0, 102);" align="center">
    								<div>0</div>
    							</td>
    							<td style=" font-family: Verdana; font-size: small; border-left: 1px solid rgb(102, 0, 102);" align="center">
    								<div>0</div>
    							</td>
    							<td style=" font-family: Verdana; font-size: small; border-left: 1px solid rgb(102, 0, 102);" align="center">
    								<div>2</div>
    							</td>
    							<td style=" font-family: Verdana; font-size: small; border-left: 1px solid rgb(102, 0, 102);" align="center">
    								<div>2</div>
    							</td>
    							<td style=" font-family: Verdana; font-size: small; border-left: 1px solid rgb(102, 0, 102);" align="center">
    								<div>3</div>
    							</td>
    							<td style=" font-family: Verdana; font-size: small; border-left: 1px solid rgb(102, 0, 102);" align="center">
    								<div>0</div>
    							</td>
    							<td style=" font-family: Verdana; font-size: small; border-left: 1px solid rgb(102, 0, 102);" align="center">
    								<div>69</div>
    							</td>
    							<td style=" font-family: Verdana; font-size: small; border-left: 1px solid rgb(102, 0, 102);" align="center">
    								<div>88</div>
    							</td>
    						</tr>
    						<tr valign="top" align="left" id="AUTOGENBOOKMARK_7">
    							<td style=" font-family: Verdana; font-style: italic; color: rgb(51, 102, 0);">
    								<div>Majeur</div>
    							</td>
    							<td style=" font-family: Verdana; font-size: small; border-left: 1px solid rgb(102, 0, 102);" align="center">
    								<div>2</div>
    							</td>
    							<td style=" font-family: Verdana; font-size: small; border-left: 1px solid rgb(102, 0, 102);" align="center">
    								<div>3</div>
    							</td>
    							<td style=" font-family: Verdana; font-size: small; border-left: 1px solid rgb(102, 0, 102);" align="center">
    								<div>1</div>
    							</td>
    							<td style=" font-family: Verdana; font-size: small; border-left: 1px solid rgb(102, 0, 102);" align="center">
    								<div>2</div>
    							</td>
    							<td style=" font-family: Verdana; font-size: small; border-left: 1px solid rgb(102, 0, 102);" align="center">
    								<div>3</div>
    							</td>
    							<td style=" font-family: Verdana; font-size: small; border-left: 1px solid rgb(102, 0, 102);" align="center">
    								<div>5</div>
    							</td>
    							<td style=" font-family: Verdana; font-size: small; border-left: 1px solid rgb(102, 0, 102);" align="center">
    								<div>4</div>
    							</td>
    							<td style=" font-family: Verdana; font-size: small; border-left: 1px solid rgb(102, 0, 102);" align="center">
    								<div>1</div>
    							</td>
    							<td style=" font-family: Verdana; font-size: small; border-left: 1px solid rgb(102, 0, 102);" align="center">
    								<div>91</div>
    							</td>
    							<td style=" font-family: Verdana; font-size: small; border-left: 1px solid rgb(102, 0, 102);" align="center">
    								<div>112</div>
    							</td>
    						</tr>
    						<tr valign="top" align="left" id="AUTOGENBOOKMARK_8">
    							<td style=" font-family: Verdana; font-style: italic; color: rgb(51, 102, 0);">
    								<div>Mineur</div>
    							</td>
    							<td style=" font-family: Verdana; font-size: small; border-left: 1px solid rgb(102, 0, 102);" align="center">
    								<div>8</div>
    							</td>
    							<td style=" font-family: Verdana; font-size: small; border-left: 1px solid rgb(102, 0, 102);" align="center">
    								<div>2</div>
    							</td>
    							<td style=" font-family: Verdana; font-size: small; border-left: 1px solid rgb(102, 0, 102);" align="center">
    								<div>0</div>
    							</td>
    							<td style=" font-family: Verdana; font-size: small; border-left: 1px solid rgb(102, 0, 102);" align="center">
    								<div>2</div>
    							</td>
    							<td style=" font-family: Verdana; font-size: small; border-left: 1px solid rgb(102, 0, 102);" align="center">
    								<div>2</div>
    							</td>
    							<td style=" font-family: Verdana; font-size: small; border-left: 1px solid rgb(102, 0, 102);" align="center">
    								<div>9</div>
    							</td>
    							<td style=" font-family: Verdana; font-size: small; border-left: 1px solid rgb(102, 0, 102);" align="center">
    								<div>7</div>
    							</td>
    							<td style=" font-family: Verdana; font-size: small; border-left: 1px solid rgb(102, 0, 102);" align="center">
    								<div>1</div>
    							</td>
    							<td style=" font-family: Verdana; font-size: small; border-left: 1px solid rgb(102, 0, 102);" align="center">
    								<div>109</div>
    							</td>
    							<td style=" font-family: Verdana; font-size: small; border-left: 1px solid rgb(102, 0, 102);" align="center">
    								<div>140</div>
    							</td>
    						</tr>
    						<tr valign="top" align="left">
    							<td style=" font-family: Verdana; font-style: italic; color: rgb(51, 102, 0); border-top: 1px solid rgb(102, 0, 102); background-color: rgb(192, 192, 192);">
    								<div id="AUTOGENBOOKMARK_9">Total</div>
    							</td>
    							<td style=" font-family: Verdana; font-style: italic; font-weight: bold; font-size: small; color: rgb(51, 102, 0); border-top: 1px solid rgb(102, 0, 102); border-left: 1px solid rgb(102, 0, 102); background-color: rgb(192, 192, 192);" align="center">
    								<div>20</div>
    							</td>
    							<td style=" font-family: Verdana; font-style: italic; font-weight: bold; font-size: small; color: rgb(51, 102, 0); border-top: 1px solid rgb(102, 0, 102); border-left: 1px solid rgb(102, 0, 102); background-color: rgb(192, 192, 192);" align="center">
    								<div>7</div>
    							</td>
    							<td style=" font-family: Verdana; font-style: italic; font-weight: bold; font-size: small; color: rgb(51, 102, 0); border-top: 1px solid rgb(102, 0, 102); border-left: 1px solid rgb(102, 0, 102); background-color: rgb(192, 192, 192);" align="center">
    								<div>1</div>
    							</td>
    							<td style=" font-family: Verdana; font-style: italic; font-weight: bold; font-size: small; color: rgb(51, 102, 0); border-top: 1px solid rgb(102, 0, 102); border-left: 1px solid rgb(102, 0, 102); background-color: rgb(192, 192, 192);" align="center">
    								<div>4</div>
    							</td>
    							<td style=" font-family: Verdana; font-style: italic; font-weight: bold; font-size: small; color: rgb(51, 102, 0); border-top: 1px solid rgb(102, 0, 102); border-left: 1px solid rgb(102, 0, 102); background-color: rgb(192, 192, 192);" align="center">
    								<div>7</div>
    							</td>
    							<td style=" font-family: Verdana; font-style: italic; font-weight: bold; font-size: small; color: rgb(51, 102, 0); border-top: 1px solid rgb(102, 0, 102); border-left: 1px solid rgb(102, 0, 102); background-color: rgb(192, 192, 192);" align="center">
    								<div>16</div>
    							</td>
    							<td style=" font-family: Verdana; font-style: italic; font-weight: bold; font-size: small; color: rgb(51, 102, 0); border-top: 1px solid rgb(102, 0, 102); border-left: 1px solid rgb(102, 0, 102); background-color: rgb(192, 192, 192);" align="center">
    								<div>14</div>
    							</td>
    							<td style=" font-family: Verdana; font-style: italic; font-weight: bold; font-size: small; color: rgb(51, 102, 0); border-top: 1px solid rgb(102, 0, 102); border-left: 1px solid rgb(102, 0, 102); background-color: rgb(192, 192, 192);" align="center">
    								<div>2</div>
    							</td>
    							<td style=" font-family: Verdana; font-style: italic; font-weight: bold; font-size: small; color: rgb(51, 102, 0); border-top: 1px solid rgb(102, 0, 102); border-left: 1px solid rgb(102, 0, 102); background-color: rgb(192, 192, 192);" align="center">
    								<div>269</div>
    							</td>
    							<td style=" font-family: Verdana; font-style: italic; font-weight: bold; font-size: small; color: rgb(51, 102, 0); border-top: 1px solid rgb(102, 0, 102); border-left: 1px solid rgb(102, 0, 102); background-color: rgb(192, 192, 192);" align="center">
    								<div>340</div>
    							</td>
    						</tr>
    					</table>
    					<div>
    						<br>
    						<br>
    						<br>
    					</div>
    					<div>
    						<img class="style_12" id="AUTOGENBOOKMARK_10" src="/birt-web-project/images/customa33d0011a0c1d65572.png" alt="" style=" width: 6.59375in; height: 3.7395833333in;">
    					</div>
    				</td>
    			</tr>
    			<tr>
    				<td>
    					<div class="style_1" id="AUTOGENBOOKMARK_11"><br>&#xa9; copyright 2008 - Valiantys</div>
    				</td>
    			</tr>
    		</table>
    	</body>
    </html>
    La partie concernant l'image se trouve à la fin.

  10. #30
    Membre chevronné
    Homme Profil pro
    Directeur technique
    Inscrit en
    Janvier 2007
    Messages
    1 348
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 47
    Localisation : France, Paris (Île de France)

    Informations professionnelles :
    Activité : Directeur technique

    Informations forums :
    Inscription : Janvier 2007
    Messages : 1 348
    Points : 1 787
    Points
    1 787
    Par défaut
    On va faire des essais.
    Remplace le code de ta servlet par
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
     
    import java.io.File;
    import java.io.FileInputStream;
     
    import javax.servlet.ServletOutputStream;
    import javax.servlet.http.HttpServlet;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
     
    public class ImageServlet extends HttpServlet {
    	@Override
    	public void doGet(HttpServletRequest request, HttpServletResponse response) {
    		ServletOutputStream output = response.getOutputStream();
    		response.setContentType("text/html");
    		response.write("Coucou");
    	}
    }
    et dis moi ce que ca donne dans ton navigateur quand tu mets l'url de l'image

  11. #31
    Membre du Club
    Inscrit en
    Avril 2003
    Messages
    74
    Détails du profil
    Informations forums :
    Inscription : Avril 2003
    Messages : 74
    Points : 41
    Points
    41
    Par défaut
    Le resultat reste inchangé => Pas d'affichage de l'image ni dans la page entière ni en passsant seulement son url

  12. #32
    Membre chevronné
    Homme Profil pro
    Directeur technique
    Inscrit en
    Janvier 2007
    Messages
    1 348
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 47
    Localisation : France, Paris (Île de France)

    Informations professionnelles :
    Activité : Directeur technique

    Informations forums :
    Inscription : Janvier 2007
    Messages : 1 348
    Points : 1 787
    Points
    1 787
    Par défaut
    Avec juste l'url de l'image tu as toujours une page blanche ?? (source html vide)

  13. #33
    Membre du Club
    Inscrit en
    Avril 2003
    Messages
    74
    Détails du profil
    Informations forums :
    Inscription : Avril 2003
    Messages : 74
    Points : 41
    Points
    41
    Par défaut
    oui oui, je ne te cache que je ne comprends pas trop mais j'ai refait le test plusieurs fois.

  14. #34
    Membre chevronné
    Homme Profil pro
    Directeur technique
    Inscrit en
    Janvier 2007
    Messages
    1 348
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 47
    Localisation : France, Paris (Île de France)

    Informations professionnelles :
    Activité : Directeur technique

    Informations forums :
    Inscription : Janvier 2007
    Messages : 1 348
    Points : 1 787
    Points
    1 787
    Par défaut
    Et si tu enleves
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
     
    <servlet-mapping>
    		<servlet-name>images</servlet-name>
    		<url-pattern>/images/*</url-pattern>
    	</servlet-mapping>
    de ton web.xml tu revois apparaître l'image (toujours en appelant directement l'url de l'image) ?

  15. #35
    Membre du Club
    Inscrit en
    Avril 2003
    Messages
    74
    Détails du profil
    Informations forums :
    Inscription : Avril 2003
    Messages : 74
    Points : 41
    Points
    41
    Par défaut
    Salut chtig,

    Je viens de résoudre mon problème, la nuit portant conseil. En fait, j'ai créé un listener sur la session qui va effacer tous les fichiers temporaires à la fermeture de la session. Cette méthode me semble pas mal.
    Quoiqu'il en soit, je te remercie pour le temps que tu m'as consacré et les propositions apportées.

    a+

  16. #36
    Membre chevronné
    Homme Profil pro
    Directeur technique
    Inscrit en
    Janvier 2007
    Messages
    1 348
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 47
    Localisation : France, Paris (Île de France)

    Informations professionnelles :
    Activité : Directeur technique

    Informations forums :
    Inscription : Janvier 2007
    Messages : 1 348
    Points : 1 787
    Points
    1 787
    Par défaut
    Effectivement, je n'avais pas pensé à ça et c'est une bonne idée !
    N'oublie pas le

+ Répondre à la discussion
Cette discussion est résolue.
Page 2 sur 2 PremièrePremière 12

Discussions similaires

  1. Effacer des fichiers au démarrage de Tomcat?
    Par locuelas dans le forum Tomcat et TomEE
    Réponses: 2
    Dernier message: 11/06/2007, 18h02
  2. Win 2000 Server : Nettoyage du server des fichiers temporaires.
    Par snoopy69 dans le forum Windows Serveur
    Réponses: 4
    Dernier message: 12/10/2006, 07h41
  3. Suppression des fichiers temporaires (TMP)
    Par alainn dans le forum Access
    Réponses: 1
    Dernier message: 17/06/2006, 10h01
  4. Y as il des fichiers temporaires sous builder
    Par Moutonstar dans le forum C++Builder
    Réponses: 2
    Dernier message: 12/12/2004, 14h24
  5. Comment changer le répertoire des fichiers temporaires ?
    Par devdev dans le forum MS SQL Server
    Réponses: 9
    Dernier message: 01/09/2004, 14h18

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo