*First
-index.jsp:registation form
-first.jsp: second Control of JSP.
*Code
-index.jsp
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>JSP Page</title>
</head>
<body>
<form action="first.jsp" method="post">
Enter your UserName:<input type="text" name="name"><br>
Enter your Password:<input type="password" name="pas"><br>
Enter your email:<input type="email" name="email"><br>
<input type="submit">
</form>
</body>
</html>
-First.jsp
<%--
Document : first.jsp
Created on : Apr 4, 2017, 8:45:35 PM
Author : Queue
--%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>JSP Page</title>
</head>
<body>
<%
String name=request.getParameter("name");
String password=request.getParameter("pas");
String email=request.getParameter("email");
out.println("You Entered Name :"+name+"<br>");
out.println("You Entered pas :"+password+"<br>");
out.println("You Entered email :"+email+"<br>");
%>
</body>
</html>
-OUTPUT
Thanks ;)
Happy Coding
-index.jsp:registation form
-first.jsp: second Control of JSP.
*Code
-index.jsp
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>JSP Page</title>
</head>
<body>
<form action="first.jsp" method="post">
Enter your UserName:<input type="text" name="name"><br>
Enter your Password:<input type="password" name="pas"><br>
Enter your email:<input type="email" name="email"><br>
<input type="submit">
</form>
</body>
</html>
-First.jsp
<%--
Document : first.jsp
Created on : Apr 4, 2017, 8:45:35 PM
Author : Queue
--%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>JSP Page</title>
</head>
<body>
<%
String name=request.getParameter("name");
String password=request.getParameter("pas");
String email=request.getParameter("email");
out.println("You Entered Name :"+name+"<br>");
out.println("You Entered pas :"+password+"<br>");
out.println("You Entered email :"+email+"<br>");
%>
</body>
</html>
-OUTPUT
Thanks ;)
Happy Coding
I got lot of ideas after reading this. Share more as similar to this. Thank you for shared this.
ReplyDeletecore java training in chennai
core java Training in Tnagar
c c++ course fees in chennai
c c++ courses in chennai
C Language Training
javascript training in chennai
Appium Training in Chennai
JMeter Training in Chennai
I am impressed with the way you describe a topic and make it clear to the readers. Thanks for sharing and do share more.
ReplyDeleteIELTS Coaching in Mulund
IELTS Training in Mulund West
IELTS Courses in Mulund
IELTS Coaching Centres in Mulund
Spoken English Class in Chennai
Spoken English in Chennai
IELTS Coaching in Chennai
It is an excellent blog.
ReplyDeleteAngularJS training in chennai | AngularJS training in anna nagar | AngularJS training in omr | AngularJS training in porur | AngularJS training in tambaram | AngularJS training in velachery
hi its very good info site.
ReplyDeleteThank you for kind information.
Cyber Security Training Course in Chennai | Certification | Cyber Security Online Training Course | Ethical Hacking Training Course in Chennai | Certification | Ethical Hacking Online Training Course |
CCNA Training Course in Chennai | Certification | CCNA Online Training Course | RPA Robotic Process Automation Training Course in Chennai | Certification | RPA Training Course Chennai | SEO Training in Chennai | Certification | SEO Online Training Course
It's really a piece of new information to me, I learn more from this blog, I want to learn more from this blog, keep on it doing, I eagerly waiting for your updates, thank you!!
ReplyDeletejava training institute in delhi
This is really a helpful blog I am really impressed with your work, keep it up the good work
ReplyDeleteOracle Java Certification Practice Exams
Oracle Java and Dev Tech Certification Practice Exams
100% Pass Guarantee is offered by us after Certified Cloud Technology Professional C90-02A exam preparation, with Prepare4Test’s exam dumps. You can pass the C90-02A exam in the first go with good marks, and it will be easy for you to attempt all C90-02A questions.
ReplyDeleteDownload the Arcitura Education C90-01A Q&A PDF file easily to prepare Certified Cloud Technology Professional exam. It is particularly designed for Arcitura Education C90-01A exam and our Arcitura Education specialists have created this C90-01A Question Dumps observing the original C90-01A exam.
ReplyDeletekralbet
ReplyDeletebetpark
tipobet
slot siteleri
kibris bahis siteleri
poker siteleri
bonus veren siteler
mobil ödeme bahis
betmatik
JG8M
شركة مكافحة حشرات بالخبر AczAcL79Lb
ReplyDelete"I found this article/blog post to be incredibly insightful. It really helped me understand advanced java Check it out for more details: https://vataliya-softtech.forumotion.com/t8-advance-java
ReplyDelete