JSP basic programs

<%-- Practical 1: Creation of textbox, checkbox, radiobuttons and buttons in a form --%>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
            <form>
            <input type="text" >
            <br>
            <input type="Checkbox" >BCA</input>
            <br>
            <input type="Checkbox" >MCA</input>
            <br>
            <input type="Checkbox" >BCA(H)</input>
            <br>
            <input type="radio" >MCA(H)</input>
            <br>
            <input type="radio" >MCA(H)</input>
            <br>
            <input type="radio" >MCA(H)</input>
            <br>
            <input type="submit" value="Submit">
           <%--Practical 2: Getting system date and time--%>
           <br>
           Current sytem date and time is <%=new java.util.Date()%>
        </form>
    </body>
</html>

Comments

Popular posts from this blog

Silde show of images In JSP

Compression ratio, Compression factor, saving percentage in C++

Working with database in Vb.net