Sha256: ce4600a382777f2be0de16584a7369cf7f9ed24b577917245cba89550c1a181c
Contents?: true
Size: 1.13 KB
Versions: 17
Compression:
Stored size: 1.13 KB
Contents
<html> <body> <script> var x = "abc"; function y { } </script> <style> .class { background: #124356; } </style> <p> Today's date: <%= (new java.util.Date()).toLocaleString()%> </p> <%! int i = 0; %> <jsp:declaration> int j = 10; </jsp:declaration> <%-- This is JSP comment --%> <%@ directive attribute="value" %> <h2>Select Languages:</h2> <form ACTION="jspCheckBox.jsp"> <input type="checkbox" name="id" value="Java"> Java<BR> <input type="checkbox" name="id" value=".NET"> .NET<BR> <input type="checkbox" name="id" value="PHP"> PHP<BR> <input type="checkbox" name="id" value="C/C++"> C/C++<BR> <input type="checkbox" name="id" value="PERL"> PERL <BR> <input type="submit" value="Submit"> </form> <% String select[] = request.getParameterValues("id"); if (select != null && select.length != 0) { out.println("You have selected: "); for (int i = 0; i < select.length; i++) { out.println(select[i]); } } %> </body> </html>
Version data entries
17 entries across 17 versions & 1 rubygems