diff --git a/157x81_goa.jpg b/157x81_goa.jpg new file mode 100644 index 0000000..04a7f70 Binary files /dev/null and b/157x81_goa.jpg differ diff --git a/157x81_mice.jpg b/157x81_mice.jpg new file mode 100644 index 0000000..b67ff30 Binary files /dev/null and b/157x81_mice.jpg differ diff --git a/294x46-citibank_ad.jpg b/294x46-citibank_ad.jpg new file mode 100644 index 0000000..1466f10 Binary files /dev/null and b/294x46-citibank_ad.jpg differ diff --git a/466x246-Pilotimage-Best-of-india.jpg b/466x246-Pilotimage-Best-of-india.jpg new file mode 100644 index 0000000..52ec403 Binary files /dev/null and b/466x246-Pilotimage-Best-of-india.jpg differ diff --git a/93X56-offbeat-hotels.jpg b/93X56-offbeat-hotels.jpg new file mode 100644 index 0000000..a7f4769 Binary files /dev/null and b/93X56-offbeat-hotels.jpg differ diff --git a/93x56-malaysia.jpg b/93x56-malaysia.jpg new file mode 100644 index 0000000..e316181 Binary files /dev/null and b/93x56-malaysia.jpg differ diff --git a/CHECK.JSP b/CHECK.JSP new file mode 100644 index 0000000..e245982 --- /dev/null +++ b/CHECK.JSP @@ -0,0 +1,52 @@ + +
+<%@page language="java" import="java.sql.*,java.io.*" %> +<% +String x="",y=""; +x=request.getParameter("n"); +y=request.getParameter("pwd"); +try +{ +Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); +} +catch(ClassNotFoundException e) +{} + +try +{ +Connection con=DriverManager.getConnection("jdbc:odbc:mar"); +PreparedStatement p=con.prepareStatement("select name,key from aaa where name=? and pass=?"); +p.setString(1,x); +p.setString(2,y); +ResultSet rs=p.executeQuery(); +String k=""; +if(rs.next()) +{ +session.setAttribute("user",x); +k=rs.getString(2); +int ss=Integer.parseInt(k); +if(ss>6) +{ +response.sendRedirect("http://localhost:7000/examples/marees/home.jsp"); +} +else if(ss>3) +{ +response.sendRedirect("http://localhost:7000/examples/marees/home1.jsp"); +} +else if(ss>0 || ss==3) +{ +response.sendRedirect("http://localhost:7000/examples/marees/home2.jsp"); +} + +} +else +{ + +response.sendRedirect("http://localhost:7000/examples/marees/err.jsp"); + +} +} +catch(SQLException e){} +%> + + diff --git a/Copy of product_standarddebitmastercard.jpg b/Copy of product_standarddebitmastercard.jpg new file mode 100644 index 0000000..5f161a9 Binary files /dev/null and b/Copy of product_standarddebitmastercard.jpg differ diff --git a/FLAG.GIF b/FLAG.GIF new file mode 100644 index 0000000..e2b75b3 Binary files /dev/null and b/FLAG.GIF differ diff --git a/META-INF/context.xml b/META-INF/context.xml new file mode 100644 index 0000000..ccd695e --- /dev/null +++ b/META-INF/context.xml @@ -0,0 +1,2 @@ + +Hai
");
+ out.println("
");
+ out.println("");
+ out.println("");
+ out.close();
+ }
+}
\ No newline at end of file
diff --git a/accounts.java b/accounts.java
new file mode 100644
index 0000000..ca9a2fd
--- /dev/null
+++ b/accounts.java
@@ -0,0 +1,25 @@
+
+import java.io.*;
+import javax.servlet.http.*;
+import javax.servlet.*;
+public class accounts extends HttpServlet
+{
+ public void doGet(HttpServletRequest request,HttpServletResponse response)
+ throws ServletException,IOException
+ {
+ response.setContentType("text/html");
+ PrintWriter out=response.getWriter();
+ out.println("
");
+ out.println("
");
+ out.println("");
+ out.println("");
+ out.println("");
+ }
+}
diff --git a/adv.gif b/adv.gif
new file mode 100644
index 0000000..d9d157d
Binary files /dev/null and b/adv.gif differ
diff --git a/adv1.gif b/adv1.gif
new file mode 100644
index 0000000..7c9bfdf
Binary files /dev/null and b/adv1.gif differ
diff --git a/adv2.gif b/adv2.gif
new file mode 100644
index 0000000..526c750
Binary files /dev/null and b/adv2.gif differ
diff --git a/all.gif b/all.gif
new file mode 100644
index 0000000..17f04da
Binary files /dev/null and b/all.gif differ
diff --git a/amex_blue_cash.gif b/amex_blue_cash.gif
new file mode 100644
index 0000000..4cec03f
Binary files /dev/null and b/amex_blue_cash.gif differ
diff --git a/amexgold.gif b/amexgold.gif
new file mode 100644
index 0000000..710cff4
Binary files /dev/null and b/amexgold.gif differ
diff --git a/appl.gif b/appl.gif
new file mode 100644
index 0000000..5de93ee
Binary files /dev/null and b/appl.gif differ
diff --git a/arrow.gif b/arrow.gif
new file mode 100644
index 0000000..cd30f28
Binary files /dev/null and b/arrow.gif differ
diff --git a/back_1.gif b/back_1.gif
new file mode 100644
index 0000000..e559b88
Binary files /dev/null and b/back_1.gif differ
diff --git a/balance.java b/balance.java
new file mode 100644
index 0000000..74359d6
--- /dev/null
+++ b/balance.java
@@ -0,0 +1,90 @@
+import java.io.*;
+import javax.servlet.http.*;
+import javax.servlet.*;
+public class balance extends HttpServlet
+{
+ public void doGet(HttpServletRequest request,HttpServletResponse response)
+ throws ServletException,IOException
+ {
+ response.setContentType("text/html");
+ PrintWriter out=response.getWriter();
+ out.println(""); + out.println(""); + } +} \ No newline at end of file diff --git a/balance1.java b/balance1.java new file mode 100644 index 0000000..72cc84b --- /dev/null +++ b/balance1.java @@ -0,0 +1,91 @@ +import java.io.*; +import javax.servlet.*; +import javax.servlet.http.*; +import java.sql.*; +public class balance1 extends HttpServlet +{ + PrintWriter pw; + Connection con; + Statement st,st1,st2; + ResultSet r,r1; + String s3,s4,s33; + int c1,c2,s1,s2,s5,s55,s11,c11,s22,temp=0; + public void doGet(HttpServletRequest request,HttpServletResponse response) + throws ServletException,IOException + { + try + { + Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); + con=DriverManager.getConnection("jdbc:odbc:bm"); + st=con.createStatement(); + st1=con.createStatement(); + st2=con.createStatement(); + response.setContentType("text/html"); + pw=response.getWriter(); + } + catch (Exception e) + { + pw.println("DSN ERROR"+e); + } + try + { + s33=request.getParameter("crno"); + c11=Integer.parseInt(s33); + s3=request.getParameter("nno"); + c1=Integer.parseInt(s3); + s4=request.getParameter("amt"); + c2=Integer.parseInt(s4); + r=st.executeQuery("select cardno,cardtype from card"); + while(r.next()) + { + s1=r.getInt(1); + s2=r.getInt(2); + if ( c11==(s1-3) & s2>c2 & s2>500) + { + r1=st.executeQuery("select accountno,amount from account"); + while(r1.next()) + { + s11=r1.getInt(1); + s22=r1.getInt(2); + if(c1==s11 & s2>c2) + { + s5=c2+s22; + pw.println(""); + pw.println("
This determines how widely is the card accepted. It depends on the network and the affiliation. For instance, Visa and Master Cards are more widely accepted than Diners or American Express. Also, a global card scores higher on acceptability than a domestic one.
"); + + out.println("EligibilityAll cards have basic minimum income criterion for issuing cards. This ranges from Rs 60,000 p.a. for Cancard and Stanchart-Classic to Rs 200,000 p.a. for Amex-Gold and BoI Gold cards.
"); + + out.println("FeesOne of the most important factors, the fees include joining fees, annual subscription and fees for add on cards. All these fees are billed in the first bill and are not charged upfront.
"); + + out.println("Other ChargesIts always better to pay on time. Otherwise you pay charges for late payment. These are "); + out.println("only in case you do not pay the minimum required amount. Late payment charges range "); + out.println("from 2.5% of outstanding to 15% of minimum payment.
"); + + out.println("Credit periodThat's what its all about! Buy now pay later. Most cards have different credit periods ranging from 30 days to 50 days. That is the length of the billing cycle. This implies that the bill comes to you every nth day where n is the credit period. Also, credit covers finance charges. Most cards carry heavy credit charges ranging from 2.5% per month to 3% p.m.- works out to 34% and 42% p.a. respectively. There is a minimum payment required by most cards - from 5% of total value of the bill to 20%.
"); + + out.println("Cash AdvanceYou can also borrow money from the card, but obviously pay interest charges on that. You also have to pay cash withdrawal charges - generally 2.5% of the amount withdrawn. Interest is also charged on the amount withdrawn - again around 2.5% p.m. Every card has a limit for the amount withdrawn - some cards have an absolute limit like Rs10,000 p.m. while most cards have a cash withdrawal limit as a %age of total credit limit.
"); + + out.println("Insurance CoverInsurance cover on cards is available only in the case of an accident. The limits are higher for air accidents than for other types.
"); + out.println("TOP"); + out.println("
");
+ out.println("");
+ out.println("");
+ out.close();
+ }
+}
\ No newline at end of file
diff --git a/best_of.jpg b/best_of.jpg
new file mode 100644
index 0000000..fb60fe2
Binary files /dev/null and b/best_of.jpg differ
diff --git a/bestseller_holiday.gif b/bestseller_holiday.gif
new file mode 100644
index 0000000..f92004f
Binary files /dev/null and b/bestseller_holiday.gif differ
diff --git a/bg_nav.gif b/bg_nav.gif
new file mode 100644
index 0000000..f262ee7
Binary files /dev/null and b/bg_nav.gif differ
diff --git a/bg_subnav.gif b/bg_subnav.gif
new file mode 100644
index 0000000..1df6b20
Binary files /dev/null and b/bg_subnav.gif differ
diff --git a/blue_forward.gif b/blue_forward.gif
new file mode 100644
index 0000000..4ac9f59
Binary files /dev/null and b/blue_forward.gif differ
diff --git a/bluecards.gif b/bluecards.gif
new file mode 100644
index 0000000..4d8cbe7
Binary files /dev/null and b/bluecards.gif differ
diff --git a/butterflies.gif b/butterflies.gif
new file mode 100644
index 0000000..3dbd0e4
Binary files /dev/null and b/butterflies.gif differ
diff --git a/calque_125.gif b/calque_125.gif
new file mode 100644
index 0000000..55b58b4
Binary files /dev/null and b/calque_125.gif differ
diff --git a/card1[1].jpg b/card1[1].jpg
new file mode 100644
index 0000000..fa54bb7
Binary files /dev/null and b/card1[1].jpg differ
diff --git a/cardmiss.java b/cardmiss.java
new file mode 100644
index 0000000..5e5678c
--- /dev/null
+++ b/cardmiss.java
@@ -0,0 +1,60 @@
+import java.io.*;
+import javax.servlet.http.*;
+import javax.servlet.*;
+public class cardmiss extends HttpServlet
+{
+ public void doGet(HttpServletRequest request,HttpServletResponse response)
+ throws ServletException,IOException
+ {
+ response.setContentType("text/html");
+ PrintWriter out=response.getWriter();
+ out.println("