bonjour,

J'ai un probleme et je demande votre aide.

Voici ma 1 ere JSP :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
 
<logic:empty name="suiviForm" property="sitesurvey">
 
  <table width="200" border="1" align="center">
    <tr>
      <td class="Style1"><div align="center"><html:link href="/GestionClientMeditel/form/siteSurvey.jsp"
			paramName="client"
			paramProperty="nom"
			paramId="nom">Editer un site survey</html:link>
			</td>
    </tr>
  </table>			
 
</logic:empty>

donc ce code donne la main a la page sitesurvey.jsp avec le parametre nom.

ce nom, je veux l'affichier dans cette page ,et voici son code :

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
 
<%@ page contentType="text/html; charset=iso-8859-1" language="java" import="java.sql.*" errorPage="" %>
<%
 
String nom=(String)request.getAttribute("nom");
 
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Document sans titre</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
 
<!--
body {
	background-image: url(/GestionClientMeditel/form/images/rouge.jpg);
}
.Style1 {
	color: #FFFFFF;
	font-weight: bold;
}
.Style3 {color: #FFFFFF; font-weight: bold; font-size: 18px; }
.Style5 {color: #FFFFFF}
.Style6 {font-size: 14px}
.Style7 {color: #FFFFFF; font-size: 14px; }
-->
</style></head>
 
<body>
<form action="/GestionClientMeditel/sitesurveyAdd.do" method="GET">
  <p><img src="/GestionClientMeditel/form/images/logo_meditel.jpg" width="152" height="77"></p>
  <table width="200" border="1" align="center">
    <tr>
      <td><div align="center"><span class="Style3">SITE SURVEY </span></div></td>
    </tr>
  </table>
  <p>&nbsp;</p>
  <table width="446" border="1" align="center">
    <tr>
      <td><span class="Style1">NOM DU SITE </span></td>
     <td><input type="text" name="nom"><%=nom%></td>
    </tr>
    <tr>
      <td width="205"><span class="Style1">SUPERVISOR NAME </span></td>
      <td width="225"><input type="text" name="supervisornom"></td>
    </tr>
    <tr>
      <td class="Style1">SUPERVISOR PHONE </td>
      <td><input type="text" name="supervisornum"></td>
    </tr>
    <tr>
      <td class="Style1">DATE</td>
      <td><input type="text" name="datesurvey"></td>
    </tr>
  </table>
  <p>&nbsp;</p>
  <table width="401" border="1" align="center">
    <tr>
      <td width="144"><div align="center" class="Style1">FAR END </div></td>
      <td width="150"><div align="center" class="Style1">AZIMUT</div></td>
      <td width="85"><div align="center" class="Style1">VISIBILITE</div></td>
    </tr>
    <tr>
      <td><input type="text" name="farend1"></td>
      <td><input name="azimut1" type="text" value="0"></td>
      <td><select name="los1" size="1">
        <option>LOS</option>
        <option>NLOS</option>
        <option>OLOS</option>
      </select></td>
    </tr>
    <tr>
      <td><input type="text" name="farend2"></td>
      <td><input name="azimut2" type="text" value="0"></td>
      <td><select name="los2" size="1">
        <option>LOS</option>
        <option>NLOS</option>
        <option>OLOS</option>
      </select></td>
    </tr>
    <tr>
      <td><input type="text" name="farend3"></td>
      <td><input name="azimut3" type="text" value="0"></td>
      <td><select name="los3" size="1">
        <option>LOS</option>
        <option>NLOS</option>
        <option>OLOS</option>
      </select></td>
    </tr>
    <tr>
      <td><input type="text" name="farend4"></td>
      <td><input name="azimut4" type="text" value="0"></td>
      <td><select name="los4" size="1">
        <option>LOS</option>
        <option>NLOS</option>
        <option>OLOS</option>
      </select></td>
    </tr>
  </table>
  <p>&nbsp;  </p>
  <table width="770" border="1" align="left">
    <tr>
      <td width="280" height="27" class="Style1">PREREQUIS</td>
      <td width="53">OUI</td>
      <td width="45">NON</td>
      <td width="213">&nbsp;</td>
      <td width="145">&nbsp;</td>
    </tr>
    <tr>
      <td class="Style5 Style6">Disponibilit&eacute; d'un pylone </td>
      <td><input type="radio" name="pylone" value="oui"></td>
      <td><input name="pylone" type="radio" value="non" checked></td>
      <td class="Style5 Style6">Hauteur NEAR END requise (en m) </td>
      <td><input name="hauteurnearend" type="text" value="0"></td>
    </tr>
    <tr>
      <td class="Style7">Disponibilit&eacute; d'un MAT </td>
      <td><input type="radio" name="mat" value="oui"></td>
      <td><input name="mat" type="radio" value="non" checked></td>
      <td class="Style7">&nbsp;</td>
      <td>&nbsp;</td>
    </tr>
    <tr>
      <td class="Style7">Disponibilit&eacute; d'un chemin de cable </td>
      <td><input type="radio" name="cable" value="oui"></td>
      <td><input name="cable" type="radio" value="non" checked></td>
      <td class="Style7">Longeur du chemin de cable (en m)</td>
      <td><input name="longueurcable" type="text" value="0"></td>
    </tr>
    <tr>
      <td class="Style7">Disponibilit&eacute; de la gaine </td>
      <td><input type="radio" name="gaine" value="oui"></td>
      <td><input name="gaine" type="radio" value="non" checked></td>
      <td class="Style7">Longeur de la gaine (en m) </td>
      <td><input name="longueurgaine" type="text" value="0"></td>
    </tr>
    <tr>
      <td class="Style7">Disponibilit&eacute; d'une mise a la terre Outdoor </td>
      <td><input type="radio" name="terreout" value="oui"></td>
      <td><input name="terreout" type="radio" value="non" checked></td>
      <td>&nbsp;</td>
      <td>&nbsp;</td>
    </tr>
    <tr>
      <td class="Style7">Disponibilit&eacute; d'une mise a la terre Indoor </td>
      <td><input type="radio" name="terrein" value="oui"></td>
      <td><input name="terrein" type="radio" value="non" checked></td>
      <td>&nbsp;</td>
      <td>&nbsp;</td>
    </tr>
    <tr>
      <td class="Style7">Disponibilit&eacute; d'un local pour l'installation Indoor </td>
      <td><input type="radio" name="localin" value="oui"></td>
      <td><input name="localin" type="radio" value="non" checked></td>
      <td>&nbsp;</td>
      <td>&nbsp;</td>
    </tr>
    <tr>
      <td class="Style7">Disponibilit&eacute; de l'energie -48V </td>
      <td><input type="radio" name="energie" value="oui"></td>
      <td><input name="energie" type="radio" value="non" checked></td>
      <td>&nbsp;</td>
      <td>&nbsp;</td>
    </tr>
    <tr>
      <td class="Style7">Disponibilit&eacute; d'un depart 220V </td>
      <td><input type="radio" name="depart220V" value="oui"></td>
      <td><input name="depart220V" type="radio" value="non" checked></td>
      <td>&nbsp;</td>
      <td>&nbsp;</td>
    </tr>
    <tr>
      <td class="Style7">Disponibilite d'une Echelle </td>
      <td><input type="radio" name="echelle" value="oui"></td>
      <td><input name="echelle" type="radio" value="non" checked></td>
      <td><span class="Style5">Hauteur de l'Echelle</span></td>
      <td><input name="hauteurechelle" type="text" value="0"></td>
    </tr>
    <tr>
      <td class="Style7">Disponibilit&eacute; d'un RACK </td>
      <td><input type="radio" name="rack" value="oui"></td>
      <td><input name="rack" type="radio" value="non" checked></td>
      <td>&nbsp;</td>
      <td>&nbsp;</td>
    </tr>
  </table>
  <p><br>
    <label>  </label>
    <br>
  </p>
  <p>&nbsp;</p>
  <p>&nbsp;</p>
  <p>&nbsp;</p>
  <p>&nbsp;</p>
  <p>&nbsp;</p>
  <p>&nbsp;</p>
  <p>&nbsp;</p>
  <p>&nbsp;</p>
  <table width="75" border="1" align="center">
    <tr>
      <td width="65"><input type="submit" name="Submit" value="VALIDER"></td>
    </tr>
  </table>
  <p>&nbsp;</p>
</form>
</body>
</html>
La partie qui nous interesse de ce code est :

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
 
<tr>
      <td><span class="Style1">NOM DU SITE </span></td>
     <td><input type="text" name="nom"><%=nom%></td>
    </tr>
J'ai essayer de recuperer le nom par la methode getAttribute mais ca marche pas.

comment faire? et merci