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



Home Answers Viewqa JSP-Servlet program to enter values from one jsp page and then do calculation on some formula and that results is displayed in another jsp

Have Programming Question? Ask it here!
 
 
 


Neha Singh
program to enter values from one jsp page and then do calculation on some formula and that results is displayed in another jsp
0 Answer(s)      2 years and 4 months ago
Posted in : JSP-Servlet


<%@ page language="java" import="java.util.*;"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
</head>
<body>
<form method="post" action="exp2">
<br><br><br>
<table align="center" width="500px" style="background-color:#EDF6EA;border:1px solid #000000;">
<tr><td colspan=2 style="font-weight:bold;" align="center">Add Measurement Of Window</td></tr>
<tr><td colspan=2 align="center" height="10px"></td></tr>
    <tr>
        <td style="font-weight:bold;">Width of the Window:A</td>
        <td><input type="text" name="A" value=""></td>
    </tr>
    <tr>
        <td style="font-weight:bold;">Length of the Window:B</td>
        <td><input type="text" name="B" value=""></td>
    </tr>
    <tr>
        <td style="font-weight:bold;">Length of Ceiling to top of Window:C</td>
        <td><input type="text" name="C" value=""></td>
    </tr>
    <tr>
        <td style="font-weight:bold;">Ceiling Height:D</td>
        <td><input type="text" name="D" value=""></td>
    </tr>

    <tr>
        <td style="font-weight:bold;">Length of bottom of Window to AC:E</td>
        <td><input type="text"  name="E" value=""></td>
    </tr>
    <tr>
        <td style="font-weight:bold;">Length of bottom of Window to Floor:F</td>
        <td><input type="text" name="F" value=""></td>
    </tr>
    <tr>
        <td style="font-weight:bold;">Width of Window to Right Wall:G1</td>
        <td><input type="text" name="G1" value=""></td>
    </tr>
    <tr>
        <td style="font-weight:bold;">Width of Window to Left Wall:G2</td>
        <td><input type="text" name="G2" value=""></td>
    </tr>

    <tr>
        <td></td>
        <td><input type="submit" name="Submit" value="Save" style="background-color:#49743D;font-weight:bold;color:#ffffff;"></td>
    </tr>
    <tr><td colspan=2 align="center" height="10px"></td></tr>
</table>
</form>


</body>
</html>

Advertisement
View Answers

Related Tutorials/Questions & Answers:
 

 

 

DMCA.com