<html> <head> <html> <head> <title>Exemple "Expression Language"</title> <% pageContext.setAttribute("pageColor", "blue"); %> </head> <body bgcolor="${pageScope.pageColor}"> <h1>Appel de Paramètre ${param.department} Department</h1> Exemple de Comparaison EL: <p> Is 1 less than 2? ${1<2} <br> Does 5 equal 5? ${5==5} <br> Is 6 greater than 7? ${6 gt 7}<br> <p>Opération Mathématique:<br> 6 + 7 = ${6+7}<br> 8 x 9 = ${8*9}<br> <hr>Type de Navigateur: ${header["user-agent"]} </body> </html></title> |
0