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



Home Answers Viewqa Java-Beginners How to create a user registration form JSP
Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


mohanraj
How to create a user registration form JSP
0 Answer(s)      2 years and 6 months ago
Posted in : Java Beginners


<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<script type="text/javascript">
function"WebContent/user.jsp" formValidator()
{
    var a=document.f1.First_name.value;
    var b=document.f1.password.value;
    if(isNumeric(a, "Please enter only Alphabet for your Product Name"))
    {
        var numericExpression = /^[0-9]+$/;
        if(a.value.match(numericExpression)){
            return true;
        }else{
            alert(helperMsg);
            return false;
        }}
    if(a==null||a=="")
    {
        alert("first name must be filled out");
        return false;
    }

    if(b==null||b=="")
    {
        alert("Quantity must be filled out");
        return false;
    }
}
function isNumeric(elem, helperMsg){
    var numericExpression = /^[0-9]+$/;
    if(elem.value.match(numericExpression)){
        return true;
    }else{
        alert(helperMsg);
        return false;
    }
}


</script>
<title>Insert title here</title>
</head>
<body>
<table align="center">



<h1> Registration Form </h1> 
<br>

<form name="f1" method="post" onsubmit='return formValidator()' action="Login">

<tr><td> First Name: </td><td><input type="text" name="First_name" maxlength="20"></td></tr>

<tr><td> Password: </td><td><input type="password" name="password" maxlength="20"></td></tr>
<td><input type="submit" value="submit"></input></td>
<td><input type="reset" value="reset"></input></td>
</form>
</table>
</body>
</html>

Advertisement
View Answers

Related Tutorials/Questions & Answers:
how to create a user registration form in php
how to create a user registration form in php  how to create a user registration form in php
User Registration Form Using JSP(JspBeans) after that how i can insert in database
User Registration Form Using JSP(JspBeans) after that how i can insert in database   User Registration Form Using JSP(JspBeans) after that how i can insert in database
Advertisements
User Registration Form Using JSP(JspBeans)
User Registration Form Using JSP(JspBeans)  ... of user registration form using jsp. One of the basic programming tactics... by a user, but will also exhibit stateful behavior.  Step 1: Create
userregistration code -- http://www.roseindia.net/jsp/user-registration-form-using-jsp.shtml
userregistration code -- http://www.roseindia.net/jsp/user-registration-form-using-jsp.shtml  While running this application on netbeans7.0 , i am getting the following error: message /userregister/ description The requested
to create registration form
://www.roseindia.net/jsp/user-registration-form-using-jsp.shtml...to create registration form  hello friends,im student and i want to do an assignment on to create an registration form with 20 input fields by using
JSP code for registration form
JSP code for registration form  Haiiii can u please tell me how to encrypt password field in registration form and to compare both password and confirm password fields using jsp
user Registration form using bean
user Registration form using bean   In this code,password and confirm password does n't matches.Every time an error occured if i entered same string for both.Please help to sort my problem
How to Create Login/ Registration Form using PHP and MYSQL
How to Create Login/ Registration Form using PHP and MYSQL  Hi, I am learning PHP. I have some dilemma how to create a Login Form and make connectivity with HTML page using PHP and MYSQL. Is there any body can guide me
How to Create Student Registration Form with HTML Code?
How to Create Student Registration Form with HTML Code? At present, the concept of online student registration form has emerged as a great relief... will learn to create a student registration form using html code in easy steps
Developing User Registration Form
how to develop the User Registration Form and related JSP files. This User... Developing User Registration Form   ... necessary to develop the User Registration Form for our Struts, Hibernate and Spring
How to insert data into databse by JSP form registration page in netbeans
How to insert data into databse by JSP form registration page in netbeans  ... a student. I have been given a task to create registration page with username &... of data for login purpose. I have created 1 form in JSP netbeans with both username
Develop user registration form
User Registration Form in JSP       In this example we are going to work with a user registration... user registration jsp page.  In this example we will create a simple
How do I compile the registration form?
How do I compile the registration form?  How do I compile the registration form as stated at the bottom of the following page (URL is below). Do I...://www.roseindia.net/struts/hibernate-spring/user-registration-action.shtml
user registration
user registration  hi frnds...am working on a project in JSP.i want to create a user registration form with username,password,mail id and check box option for community selection.once the details are registered i want to save
How to create form in Swings
How to create form in Swings  How to create registration, login and question form in Java Swing?   Creating different forms in Java Swing - Examples how to create registration form in swing swing login form example
to creating a registration form
to creating a registration form  how to create a registration form
how to create a login page and registration page?
how to create a login page and registration page?  hellow, pls tell me the code for how we can create a login page and registration page and how we can store the info in database.only in advance java as jsp
Registration Form
Registration Form  Hi Friends I am Working on a small project.I have to create a Registration page using MVC pattern where i have to insert data... Date of birth from Drop down to database and how to validate user entered String
How to create file and save it into user defined path using jsp/servlet?
How to create file and save it into user defined path using jsp/servlet?  Hi.. Onclick event I have created one file.When file will create it should asked where to save file(like browse option
registration form
verification mail to the user) please tell me how could i design that. Please...) { System.out.println("in if"); query = "{call user_create...; <td class="CC1M"> CREATE USER
code for user registration page and login page of emails using jsp
code for user registration page and login page of emails using jsp  hiiiiiii please send me the code for user registration page and login page of email using jsp and servlets and also code for database connectivity to oracle
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
AJAX REGISTRATION FORM
either username or state. How to implement both in same registration form could any...AJAX REGISTRATION FORM  I have implemented user name, check and state selection using ajax, in the html registration form. I am loading two XML
popup registration form
popup registration form  hi i want a code for popup registration form.when user click a button popup form will appear.thanks.
Login form and registration
Login form and registration  I need a complete code for ligin and new user registration form and validation
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 create a form in JSP
How to create a form in JSP   ... of the creation of a form through the HTML code in the JSP page. You can simply use...;title>Creating Form in JSP.</title></head> <body> <
user registration example
user registration example  hello roseindia i'm searching for a user registration application/example using struts can you pls help me
form registration on JavaScript
form registration on JavaScript   i want form of registration on JavaScript > < check the name is string or number & if the name number output error >> and the same of email and birthday and country >> <
this code will be problem it display the error again send jsp for registration form
this code will be problem it display the error again send jsp for registration form  I AM ENTERING THE DETAILS OFTER IT DISPLAY THE ERROR PLEASE.... 1)register.jsp <html> <form method="post" action="insert.jsp"> <
this code will be problem it display the error again send jsp for registration form
this code will be problem it display the error again send jsp for registration form  I AM ENTERING THE DETAILS OFTER IT DISPLAY THE ERROR PLEASE.... 1)register.jsp <html> <form method="post" action="insert.jsp"> <
Advertisements
 

 

 

DMCA.com