Hello all,
i m doing networking in java. i m trying to build a client/server appplication in which i m trying to create a simple login page. tasks that im trying to do are in following sequence:
---client establishes connection with server
---server displays login page
---client enters username and password and submits the form
---server checks username and password by reteiving usernames and passwords from DB
---server displays welcome or invalid login message to client according to the situation
now i have established connection and server is sending HTML code of login form to client. but my problem is that how will i detect that client has pressed the "Submit" button??? how will i extract values from textfields(whic h i have made in HTML) at the client side??? either this code should be in java or HTML??? plz help me....
thanks
i m doing networking in java. i m trying to build a client/server appplication in which i m trying to create a simple login page. tasks that im trying to do are in following sequence:
---client establishes connection with server
---server displays login page
---client enters username and password and submits the form
---server checks username and password by reteiving usernames and passwords from DB
---server displays welcome or invalid login message to client according to the situation
now i have established connection and server is sending HTML code of login form to client. but my problem is that how will i detect that client has pressed the "Submit" button??? how will i extract values from textfields(whic h i have made in HTML) at the client side??? either this code should be in java or HTML??? plz help me....
thanks
Comment