Hi guys,
Im working on a web application with numerous modules. Im on the first module which has three buttons, new account, sign in and exit. I am new to java web applications. I have just created a jsp file and put html buttons onto it and now want to know what code to write to make sure those buttons when clicked load the right form,
<html>
<head>
<link rel="stylesheet" href="Style_SignIn.css" type="text/css" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<div id="title">
<title>Welcome to Intellepetro | Please sign in | For first timers create an account</title>
</div>
</head>
<body style="font-family: Segoe UI Light">
<div id="welcome"> <h1 >Welcome</h1> </div>
<div id "buttons">
<div id="newaccount"> <input type="submit" value="New Account" name="New Account" /></div>
<div id="signin"> <input type="submit" value="Sign In" name="Sign In" /></div>
<div id="exit"> <input type="submit" value="Close" name="Exit" /></
</div>
</body>
</html>
the css:
#title { color: #00468C; font-size: 20px;}
#welcome{ font-size: 18px; font-weight: bold; color: #88C4FF; background: #00468C;}
#newaccount{background: #1C8DFF;}
#signin{background: #FF9D3C;}
#exit{background: #C400C4;}
#buttons{color: #FFFFFF; font-weight: bold; font-size: 13px; border-radius: 3px; border: solid 2px #FFFFFF; width: 180px; height: 45px; }
do i need to do some php scripting to enable functionality of the buttons or do i have the wrong approach and need to use JFrame and JButtton with action listeners?