Create Index page in NetBeans IDE for designing a web application using servlet by R4R Team

As we shown in the below image we can create a index page. It work to making the input source we can say that it work as the designing page of ours. Without designing page we can't nothing in any platform. In the designing page we perform the action via our action strategies.

Above selected code is given below:

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    <body >
        <form action="MyServlet1" method="post">
            First Name      <input type="text" name="first_name" value="" />
            Last Name       <input type="text" name="last_name" value="" />
            Age             <select name="age">
                            <option>--Select Age--</option>
                            <option>10 to 20</option>
                            <option>20 to 30</option>
                            <option>30 to 40</option>
                            <option>40 to above</option>
            Profession      <select name="profession">
                            <option>--Select Profession--</option>
            <input type="submit" value="Sign In" />
Leave a Comment:
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!