class Option ONLINE BANKING PROJECT USING JAVA JSP FULL SOURCE CODE
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
| import java.io.*; import javax.servlet.*; import javax.servlet.http.*; import java.util.*; public class Option extends HttpServlet{ public void doPost(HttpServletRequest req,HttpServletResponse res) throws IOException,ServletException{ try { res.setContentType( "text/html" ); PrintWriter out=res.getWriter(); Calendar calendar = new GregorianCalendar(); String date=calendar.get(Calendar.DATE)+ "/" +(calendar.get(Calendar.MONTH)+ 1 )+ "/" +calendar.get(Calendar.YEAR); int ano=Integer.parseInt(req.getParameter( "ANO" )); out.println( "<html><head><title>Options</title></head>" ); out.println( "<body background=\"http:\\\\localhost:8080\\examples\\servlets\\images\\globe.jpg\" link=red alink=green vlink=blue>" ); out.println( "<h2 align=\"center\"><font color=\"#000080\">" ); out.println( "<img
border=\"0\"
src=\"http:\\\\localhost:8080\\examples\\servlets\\images\\earth.gif\"
align=\"left\" width=\"50\" height=\"49\">" ); out.println( "</font></h2><h2 align=\"center\"><font color=\"#000080\">UNIVERSAL NET BANK" ); out.println( "</font></h2><p align=\"center\"> </p>" ); out.println( "<table border=\"2\" width=\"100%\" bordercolorlight=\"#0000FF\" bordercolordark=\"#0000FF\">" ); out.println( "<tr><td width=\"12%\" valign=\"top\" align=\"center\">" ); out.println( "<a href=\"http:\\\\localhost:8080\\examples\\servlet\\Welcome?ANO=" +ano+ "\">Welcome" ); out.println( "</a></td><td width=\"18%\" valign=\"top\" align=\"center\">" ); out.println( "<a href=\"http:\\\\localhost:8080\\examples\\servlet\\ADetail?ANO=" +ano+ "\">Account Details" ); out.println( "</a></td><td width=\"14%\" valign=\"top\" align=\"center\">" ); out.println( "<a href=\"http:\\\\localhost:8080\\examples\\servlet\\WithDraw?ANO=" +ano+ "\">Withdrawals" ); out.println( "</a></td><td width=\"12%\" valign=\"top\" align=\"center\">" ); out.println( "<a href=\"http:\\\\localhost:8080\\examples\\servlet\\Deposit?ANO=" +ano+ "\">Deposits" ); out.println( "</a></td><td width=\"12%\" valign=\"top\" align=\"center\">" ); out.println( "<a href=\"http:\\\\localhost:8080\\examples\\servlet\\Loan?ANO=" +ano+ "\">Loans" ); out.println( "</a></td><td width=\"12%\" valign=\"top\" align=\"center\">" ); out.println( "<a href=\"http:\\\\localhost:8080\\examples\\servlet\\Mail?ANO=" +ano+ "\">Mail Us" ); out.println( "</a></td><td width=\"11%\" valign=\"top\" align=\"center\">" ); out.println( "<a href=\"http:\\\\localhost:8080\\examples\\servlets\\Logout.html\">Logout" ); out.println( "</a></td></tr></table><table border=\"0\" width=\"100%\">" ); out.println( "<tr><td width=\"50%\"><font color=\"#000080\"><b>" ); out.println( "Date : </b></font><font color=\"#000080\"><b>" ); out.println(date); out.println( "</b></font></td><td width=\"50%\" align=\"right\"><font color=\"#000080\">" ); out.println( "<b>Account No : <font size=\"3\">" ); out.println(ano); out.println( "</font></b></font></td></tr></table>" ); out.println( "<p
align=\"center\"> <img border=\"0\"
src=\"http:\\\\localhost:8080\\examples\\servlets\\images\\update.jpg\"
width=\"403\" height=\"83\"></p>" ); out.println( "<div align=\"center\">" ); out.println( "<center>" ); out.println( "<table border=\"1\" width=\"75%\">" ); out.println( "<tr>" ); out.println( "<td width=\"50%\">" ); out.println( "<h4
align=\"left\"><b><font color=\"#000080\"><a
href=\"http:\\\\localhost:8080\\examples\\servlet\\UPDetails?ANO=" +ano+ "\">Update" ); out.println( "User Details</a></font></b></h4>" ); out.println( "</td>" ); out.println( "<td width=\"50%\">" ); out.println( "<h4
align=\"right\"><b><font color=\"#000080\"><a
href=\"http:\\\\localhost:8080\\examples\\servlet\\Cpass?ANO=" +ano+ "\">Change" ); out.println( "Password</a></font></b></h4>" ); out.println( "</td>" ); out.println( "</tr>" ); out.println( "</table>" ); out.println( "</center>" ); out.println( "</div>" ); out.println( "<p> </p>" ); out.println( "</body></html>" ); } catch (Exception e){ System.out.println( "Class Not Found " +e); } } //END OF doPost public void doGet(HttpServletRequest req,HttpServletResponse res) throws IOException,ServletException{ doPost(req,res); } } |
next =>> class SendMail ONLINE BANKING SYSTEM PROJECT
0 comments: