CSE 510 Web Data Engineering
HTML Forms and Hyperlinks
UB CSE 510 Web Data Engineering
CSE 510 Web Data Engineering HTML Forms and Hyperlinks UB CSE 510 - - PowerPoint PPT Presentation
CSE 510 Web Data Engineering HTML Forms and Hyperlinks UB CSE 510 Web Data Engineering Drop Down Menus & Presetting <html> <head><title> Multiplier with Drop Down Menu </title></head> <body> <form
UB CSE 510 Web Data Engineering
UB CSE 510 Web Data Engineering 2
<html> <head><title>Multiplier with Drop Down Menu</title></head> <body> <form action="multiplyJSP.jsp" method="GET"> The chosen number will be multiplied by 3: <select name="num"> <option value="1">One</option> <option value="2" selected="selected">Two</option> <option value="3">Three</option> </select> <p /> <input type="submit" value="Submit”> </form> </body> </html> Drop- Down Menu Presetting
UB CSE 510 Web Data Engineering 3
<html> <head><title> Multiplier Where 3 Is The Default That Can Change </title></head> <body> <form action=“multiplyJSPTwoParams.jsp" method="GET"> Multiply <input type="text" name="x" value="3" size=”5"/> by <input type="text" name="y" size=“9”/> <p /> <input type="submit" value="Submit"/> </form> </body> </html>
UB CSE 510 Web Data Engineering 4
UB CSE 510 Web Data Engineering 5
UB CSE 510 Web Data Engineering 6
<body> <form action="multiplyJSPTwoParams.jsp" method="GET"> <input type="hidden" name="x" value="2"/> <select name="y"> <option value="1">One</option> <option value="2" selected="selected">Two</option> <option value="3">Three</option> </select> <p /> <input type="submit" value="Multiply x 2"/> </form> <form action="multiplyJSPTwoParams.jsp" method=”GET"> <input type="hidden" name="x" value="3"/> <input type="text" name="y" size="3"/> <p /> <input type="submit" value="Multiply x 3"/> </form> </body>
UB CSE 510 Web Data Engineering 7
UB CSE 510 Web Data Engineering 8