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

Version Path
agile-proxy-0.1.24 assets/ui/bower_components/ace-builds/demo/kitchen-sink/docs/jsp.jsp
agile-proxy-0.1.23 assets/ui/bower_components/ace-builds/demo/kitchen-sink/docs/jsp.jsp
agile-proxy-0.1.22 assets/ui/bower_components/ace-builds/demo/kitchen-sink/docs/jsp.jsp
agile-proxy-0.1.21 assets/ui/bower_components/ace-builds/demo/kitchen-sink/docs/jsp.jsp
agile-proxy-0.1.20 assets/ui/bower_components/ace-builds/demo/kitchen-sink/docs/jsp.jsp
agile-proxy-0.1.19 assets/ui/bower_components/ace-builds/demo/kitchen-sink/docs/jsp.jsp
agile-proxy-0.1.18 assets/ui/bower_components/ace-builds/demo/kitchen-sink/docs/jsp.jsp
agile-proxy-0.1.13 assets/ui/bower_components/ace-builds/demo/kitchen-sink/docs/jsp.jsp
agile-proxy-0.1.12 assets/ui/bower_components/ace-builds/demo/kitchen-sink/docs/jsp.jsp
agile-proxy-0.1.11 assets/ui/bower_components/ace-builds/demo/kitchen-sink/docs/jsp.jsp
agile-proxy-0.1.10 assets/ui/bower_components/ace-builds/demo/kitchen-sink/docs/jsp.jsp
agile-proxy-0.1.9 assets/ui/bower_components/ace-builds/demo/kitchen-sink/docs/jsp.jsp
agile-proxy-0.1.8 assets/ui/bower_components/ace-builds/demo/kitchen-sink/docs/jsp.jsp
agile-proxy-0.1.7 assets/ui/bower_components/ace-builds/demo/kitchen-sink/docs/jsp.jsp
agile-proxy-0.1.6 assets/ui/bower_components/ace-builds/demo/kitchen-sink/docs/jsp.jsp
agile-proxy-0.1.5 assets/ui/bower_components/ace-builds/demo/kitchen-sink/docs/jsp.jsp
agile-proxy-0.1.4 assets/ui/bower_components/ace-builds/demo/kitchen-sink/docs/jsp.jsp