-
Notifications
You must be signed in to change notification settings - Fork 0
/
Verifiycredit.java
32 lines (23 loc) · 986 Bytes
/
Verifiycredit.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
import javax.servlet.*;
import javax.servlet.http.*;
import java.io.*;
import java.sql.*;
import java.util.*;
public class Verifiycredit extends HttpServlet
{
public void doGet(HttpServletRequest req , HttpServletResponse res)throws IOException , ServletException
{
res.setContentType("text/html");
PrintWriter out=res.getWriter();
HttpSession session1=req.getSession();
String otp=(String)session1.getAttribute("otp");
String accountno=(String)session1.getAttribute("accountnumber");
String money=(String)session1.getAttribute("sumtransfer");
out.println("<html><body bgcolor='skyblue'><body>");
out.println("<center><h1>VERIFY ACCOUNT</h1></center><br><br>");
out.println("<form action='ReceiverServlet1'>");
out.println("<center>Enter OTP:<input type='number' name='txtname'></center><br><br>");
out.println("<center><input type='submit' value='Verify'></center>");
out.println("</form></body></html>");
}
}