Explorar el Código

SEC-2467: Fix Small errors in itest-web's jsps

james hace 11 años
padre
commit
5a2e99c940

+ 1 - 3
itest/web/src/main/webapp/secure/authenticationTagTestPage.jsp

@@ -3,15 +3,13 @@
 <body>
 <h1>Authentication Tag Test Page</h1>
 
-<p>
 <ul>
 <li>This is the authentication name: <sec:authentication property="name"/></li>
 <li>This is the principal.username: <sec:authentication property="principal.username"/></li>
 <li>This is the unescaped authentication name: <sec:authentication property="name" htmlEscape="false"/></li>
 <li>This is the unescaped principal.username: <sec:authentication property="principal.username" htmlEscape="false"/></li>
 
-</ul
-</p>
+</ul>
 </body>
 
 </html>

+ 4 - 1
itest/web/src/main/webapp/secure/secure1.jsp

@@ -7,6 +7,9 @@
     <title>A secure page</title>
   </head>
   <body>
-    <jsp:include page="secure1body.jsp?x=1&y=2"/>
+    <jsp:include page="secure1body.jsp">
+        <jsp:param name="x" value="1" />
+        <jsp:param name="y" value="2" />
+    </jsp:include>
   </body>
 </html>