Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa JSP-Servlet convert this html form to jsp
Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


shraddha srivastava
convert this html form to jsp
1 Answer(s)      3 years and a month ago
Posted in : JSP-Servlet


<html>
<head>
<script language="javascript" src="images/validationm.js"></script>
<script language="javascript" src="images/validation.js"></script>

<title>Village Details</title>
</head>


<body bottommargin="2" leftmargin="10" rightmargin="10" topmargin="1" >
<table  align="center"  cellSpacing=0  cellPadding=0  width="60%" border=0>
    <tbody>
        <tr>
                <td bgColor="#2a5865" colSpan=1>
                    <IMG height=4 src="images/zero.gif" width=1>
                </td>
        </td>
</tbody>
</table>

<table align="center" width="60%" height="100" >
    <tr>

        <td width="40%" height="100">
                <p align="right" style="margin-top: 0; margin-bottom: 0"> 
                <img src="images/avantha1.jpg" width="520" height="100"></p>
        </td>


            <td width="20%" height="100">
                <p align="right" style="margin-top: 0; margin-bottom: 0"> 
              <img src="images/logo[2].gif" width="200" height="100"></p>
      </td>
  </tr>
</table>



<body style="margin-left: 10pt; margin-right: 10pt; margin-bottom: 5pt"  >

<TD background="images/dot.gif"><IMG height=4 src="images/zero.gif" width=25></TD>
</TR></TBODY></TABLE>
<br>
<table width="60%"  height="40" border="0" cellpadding="6" cellspacing="0" align="center">
    <tbody>
    <tr>
        <td valign="top" align="center" bgcolor="#2a5865"><font class="blackboldtxt"><font color="#ffffff" size=5><b>Add Village Details</b></font></font></td></tr>
        </td>
    </tr> 


<form name="VillageDetailsForm" action="AddVillage.jsp" method="post" onSubmit="return adsvalidate();">

<table width="50%" height="400" bgcolor="#ecf7fb" border="0" cellpadding="0" cellspacing="0" align="center">
<br>
<tbody><tr><td colspan="2" align="center"><font class="textsmallbluenormal"><font color="#333333">All fields marked with <font color="#d36000">*</font> are mandatory.</font></font></td></tr>


<tr>
    <script language="javascript" src="images/city.js"></script>
    <td style="padding-left: 15px; padding-top: 10px;" valign="middle" width="200"><font class="blackboldtxt"><font color="#003e7b">State :</font></font> <font class="smalltext"><font color="#d36000">*</font></font></td>
    <td style="padding-top: 10px;" valign="top">
    <select style="width: 175px; font-family: arial,Verdana,sans-serif; font-size: 8pt;" class="textfiled" name="State" onChange="fillSelectFromArray(this.form.City, ((this.selectedIndex == -1) ? null : residingcity[this.selectedIndex-1]));getLocality();">
    <option value="0" selected="selected"> ---------- Select State ---------- </option>
    <option value="1">Chhattisgarh</option>
    <option value="2">Madhya Pradesh</option>
    </select>
    </td>
</tr>


<tr>
<td style="padding-left: 15px; padding-top: 10px;" valign="middle">
<font class="blackboldtxt"><font color="#003e7b">District :</font> <font class="smalltext"><font color="#d36000">*</font></font></font>
</td>
<td style="padding-top: 10px;" valign="top">
<input class="addtextfiled" size="25" name="District" value="">
</td>
</tr>


<tr>
<td style="padding-left: 15px; padding-top: 10px;" valign="middle">
<font class="blackboldtxt"><font color="#003e7b">Tehsil/Taluka/Block :</font> <font class="smalltext"><font color="#d36000">*</font></font></font>
</td>
<td style="padding-top: 10px;" valign="top">
<input class="addtextfiled" size="25" name="Ttb" value="">
</td>
</tr>

<tr>
<td style="padding-left: 15px; padding-top: 10px;" valign="middle">
<font class="blackboldtxt"><font color="#003e7b">Village :</font> <font class="smalltext"><font color="#d36000">*</font></font></font>
</td>
<td style="padding-top: 10px;" valign="top">
<input class="addtextfiled" size="25" name="VillageName" value="">
</td>
</tr>


<tr>
<td style="padding-left: 15px; padding-top: 10px;" valign="middle">
<font class="blackboldtxt"><font color="#003e7b">Surpanch Name :</font></font> <font class="smalltext"><font color="#d36000">*</font></font></td>
<td style="padding-top: 10px;" valign="top">
<input class="addtextfiled" size="25" name="SurpanchName" value="">
</td>
</tr>


<tr>
<td style="padding-left: 15px; padding-top: 10px;" valign="middle">
<font class="blackboldtxt"><font color="#003e7b">No. Of HouseHolds :</font></font> <font class="smalltext"><font color="#d36000">*</font></font></td>
<td style="padding-top: 10px;" valign="top">
<input class="addtextfiled" size="15" name="NumberOfHouseHolds" value="">
</td>
</tr>



<tr>
<td style="padding-left: 15px; padding-top: 10px;" valign="middle">
<font class="blackboldtxt"><font color="#003e7b">No. Of Land Sellers :</font></font> <font class="smalltext"><font color="#d36000">*</font></font></td>
<td style="padding-top: 10px;" valign="top">
<input class="addtextfiled" size="15" name="NumberOfLandLosers" value="">
</td>
</tr>



<tr>
<td style="padding-left: 15px; padding-top: 10px;" valign="middle">
<font class="blackboldtxt"><font color="#003e7b">Total Village Area :</font></font> <font class="smalltext"><font color="#d36000">*</font></font></td>
<td style="padding-top: 10px;" valign="top">
<input class="addtextfiled" size="15" name="TotalVillageArea" value="">
</td>
</tr>


<script type="text/javascript" src="images/automobile.js"></script>


<tr>
                      <td colspan="2" valign="top" align="middle"><br>
                          <input name="file_name" value="newuser" type="hidden">
                          <input name="Country" value="" type="hidden">
                          <input name="reset" src="login.php_files/submit-button.gif" value="Clear" type="reset" width="62" border="0" height="19">
                                          
                          <input name="post" src="login.php_files/submit-button.gif" value="Submit" type="submit" width="62" border="0"height="19" onClick='return check(frm)'>
                                          
              <input name="reset" src="login.php_files/submit-button.gif" type="reset" width="62" border="0" height="19" value="Cancel">              
                     </td>


</tr>

</tbody>
</table>
</form>
</td>
</tr>
</tbody>
</table>
<!-- End of New Village Registration -->
</body></html>

Advertisement
View Answers

November 2, 2011 at 2:51 PM


JSP page includes html tags so you may change an extension.

Please visit the following links:

http://www.roseindia.net/jsp/formdata.shtml

JSP Tutorials



Related Tutorials/Questions & Answers:
convert this html form to jsp
convert this html form to jsp  <html> <head> <script...;/tr> <form name="VillageDetailsForm" action="AddVillage.jsp" method... Village Registration --> </body></html>   JSP page
html form - JSP-Servlet
html form  how to retrieve database value in dropdown list box placed in html form  Hi friend, Visit for more information. http://www.roseindia.net/jsp/ Thanks
Advertisements
convert html to excel using jsp
convert html to excel using jsp   i want to convert a html page into mcrosoft excel page using jsp.how i do
JSP:HTML Form in-place Editing - JSP-Servlet
JSP:HTML Form in-place Editing  I have an HTML form (form #1) which... beans. Perhaps you guys are better aware of in-place html form editing than me...). Now my purpose is to re-populate the same customer form (form #1) based
JSP:HTML Form in-place Editing - JSP-Servlet
JSP:HTML Form in-place Editing  Hi, I want to thank the people... developer's needs. This is a follow up to the HTML Form in-place editing. The code... an excellent way of editing a form. I just have a few adjustments if any of you could
JSP to add details to a database from a HTML form.
JSP to add details to a database from a HTML form.  Hi I'm a second year CS student who has to use JSP to validate a HTML form and add the details..... Can anyone tell me what is wrong with my code? html code first
how to write a jsp form using html
how to write a jsp form using html  hi, i have written the code as below... but it is showing error. please help me how to resolve it. .html file...; <body> <form method="POST" action="Form1.jsp"> EmployeeNo: <
How to retrieve array values from html form to jsp?
How to retrieve array values from html form to jsp?  Hi! I am developing an dynamic user interface. I hv developed html forms and i wat to convert it into jsp. Means i just want to retrieve values from html form containing array
jsp or sevlet and html form to send picture to database - JSP-Servlet
jsp or sevlet and html form to send picture to database  Hello guys... that contains his picture to database. What I need are html page for the form that will browse for the picture, jsp or servlet that the info from html will go
HTML(Registration form) to Jsp to stored into MS ACCESS database
HTML(Registration form) to Jsp to stored into MS ACCESS database  i am sending one html file that contain 18 fields these are stored in ms-access database by using jsp code.i want to urgent jsp code. please urgent sir. thank
how to save html form data into .csv file using only jsp.
how to save html form data into .csv file using only jsp.  Dear all, I am developing a website only using jsp and html. i need to save the form data into a .csv file using jsp. can anyone give me any sample solution or tutorial
how to pass form values from javascript of html page to jsp page
how to pass form values from javascript of html page to jsp page   This is my sample html page which contains inline javascript which calculates... to submit all the form values with lattitude and longitude returned from
Process HTML FORM data
Process HTML FORM data  Can a JSP page process HTML FORM data?   Yes. Preemptive termination of request processing on an error condition is a good way to maximize the throughput of a high-volume JSP engine. The trick
HTML Form data into .CSV?
HTML Form data into .CSV?  how to store data from html form to csvfile in java
HTML form - Java Beginners
HTML form   Hi, thank u for fast reply. I have two forms (form1 and form 2)with several fields in html. When i click the submit button... want jsp code for form navication. thanks, regards. sakthi  Hi
HTML form examples
HTML form examples  Hi, How to create a simple data entry form in HTML and use JavaScript to validate the same. Can anyone share html form examples code? Thanks   Hi, Please see the HTML form example page. Thanks
Registration Form in HTML
Registration Form in HTML  User Registration Form in HTML - i wanted to design a user registration form in HTML. So, Can anyone please guide me or give me a peace of code to design a user registration form in HTML. Thanks
How to convert a swing form to PDF
How to convert a swing form to PDF  Sir, I want to know about how convert a swing form containing textbox,JTable,JPanel,JLabel, Seperator etc swing menus to a PDF file using java code
HTML to php form
HTML to php form  Hi, How I can submit the HTML form data to PHP Script? Give me example code. Thanks   Hi, Please see the following tutorials: PHP Form PHP email form Thanks
HTML -- form tag.
HTML -- form tag. Description : HTML provides a form tag. It takes user... within form tag. Code : <!DOCTYPE html PUBLIC "-//W3C//DTD... language</title> </head> <body> <h1>HTML form tag
web form(html) with jdbc
web form(html) with jdbc  need a example coding to develop a web form of data with jdbc   Hi Friend, Try the following code: 1)form.html: <html> <form method="post" action="http://localhost:8080/examples/jsp
html form - Java Beginners
html form  Hi, I wnt to design a form with more than one action in submit button.thanks. regards, sakthi  Hi friend, You specify your main requirement of form with more then one action. Thanks
HTML Form Validation example
HTML Form Validation example  Can anyone guide me how to validate the user name and password field in HTML using simple or JavaScript Validation. Thanks in advance!   <form method="post" onsubmit="return
convert an pdf file to html in Java
convert an pdf file to html in Java  Hi all, How to convert an pdf file to html in Java? Currently all my data is generated into a report in pdf and i want to be able to generate it to html page as well. How to go about
create html form as follows
create html form as follows  a form that contains two textboxes;one for your name and another for telephone number.telephone number should have exactly 10 digits starting with the digit '9' and name should not be left blank.add
create html form as follows
create html form as follows  a form that contains two textboxes;one for your name and another for telephone number.telephone number should have exactly 10 digits starting with the digit '9' and name should not be left blank.add
html form - Java Beginners
html form  Hi
convert html website into wordpress theme
convert html website into wordpress theme  i am trying to convert an html site into wordpress.and i have divided my html website into 4 parts i.e. index.php,header.php,footer.php and side bars.php.when i am trying to run
convert Html to Xhtml - Java Beginners
convert Html to Xhtml  Hi All, I am trying to convert html to xhtml in java. to do this i am using htmlcleaner api. i am not able to do with it.i ve not even got basic example on that so please can u send some example
HTML form methods GET and POST
HTML form methods GET and POST  What is the difference between the HTML form methods GET and POST
jsp form
jsp form  hi sir, one got one got in jsp form after entering the data into the form the data is not saving in the database i will send you code of two forms if dnt understand my problem
Advertisements
 

 

 

DMCA.com