
how to store details from user and how to create asp file or etc.

1)form.jsp:
<html> <form method="post" action="next.jsp"> <table> <tr><td>First Name:</td><td><input type="text" name="fname"></td></tr> <tr><td>Last Name:</td><td><input type="text" name="lname"></td></tr> <tr><td>Email:</td><td><input type="text" name="email"></td></tr> <tr><td>Address:</td><td><input type="text" name="address"></td></tr> <tr><td>Mobile:</td><td><input type="text" name="mobile"></td></tr> <tr><td></td><td><input type="submit" value="Submit"></td></tr> </table> </form> </html>
2)next.jsp:
<%@page import="java.sql.*,java.util.*"%>
<%
String fname=request.getParameter("fname");
String lname=request.getParameter("lname");
String email=request.getParameter("email");
String address=request.getParameter("address");
String mobile=request.getParameter("mobile");
out.println("First Name: "+fname);
out.println("Last Name: "+lname);
out.println("Email: "+email);
out.println("Address: "+address);
out.println("Mobile: "+mobile);
%>
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.