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 @@ + + diff --git a/WEB-INF/web.xml b/WEB-INF/web.xml new file mode 100644 index 0000000..03b92b5 --- /dev/null +++ b/WEB-INF/web.xml @@ -0,0 +1,19 @@ + + + + Registration1 + Registration1 + + + Registration1 + /Registration1 + + + + 30 + + + + Welcome.html + + diff --git a/about.java b/about.java new file mode 100644 index 0000000..3c50912 --- /dev/null +++ b/about.java @@ -0,0 +1,29 @@ +import javax.servlet.*; +import javax.servlet.http.*; +import java.io.*; +public class about extends HttpServlet +{ + public void doGet(HttpServletRequest re,HttpServletResponse rs) + throws ServletException,IOException + { + rs.setContentType("text/html"); + PrintWriter out=rs.getWriter(); + out.println(""); + out.println("cyber credit card system"); + out.println(""); + out.println("Guide"); + out.println("

"); + out.println("Choose your own best card"); + out.println("

"); + out.println("Cost of the cards"); + out.println("

"); + out.println("Hard Facts"); + out.println("

"); + out.println("Contact us"); + out.println("

"); + out.println("About us"); + out.println("

"); + out.println(""); + out.close(); + } +} \ No newline at end of file diff --git a/about1.java b/about1.java new file mode 100644 index 0000000..ab3d574 --- /dev/null +++ b/about1.java @@ -0,0 +1,33 @@ +import javax.servlet.*; +import javax.servlet.http.*; +import java.io.*; +public class about1 extends HttpServlet +{ + public void doGet(HttpServletRequest re,HttpServletResponse rs) + throws ServletException,IOException + { + rs.setContentType("text/html"); + PrintWriter out=rs.getWriter(); + out.println(""); + out.println("cyber credit card system"); + out.println(""); + out.println(""); + out.println("Cards"); + out.println("

"); + out.println("Guide"); + out.println("

"); + out.println("Choose your own best card"); + out.println("

"); + out.println("Cost of the cards"); + out.println("

"); + out.println("Hard Facts"); + out.println("

"); + out.println("Contact us"); + out.println("

"); + out.println("About us"); + out.println("

"); + out.println(""); + out.println(""); + out.close(); + } +} \ No newline at end of file diff --git a/aboutus.java b/aboutus.java new file mode 100644 index 0000000..adcdd6b --- /dev/null +++ b/aboutus.java @@ -0,0 +1,26 @@ +import javax.servlet.*; +import javax.servlet.http.*; +import java.io.*; +public class aboutus extends HttpServlet +{ + public void doGet(HttpServletRequest re,HttpServletResponse rs) + throws ServletException,IOException + { + rs.setContentType("text/html"); + PrintWriter out=rs.getWriter(); + out.println(""); + out.println("Cyber Credit Card System"); + out.println(""); + out.println(""); + out.println(" "); + out.println("CYBER CREDIT CARD SYSTEM"); + out.println("
"); + out.println("

About us

"); + out.println(""); + out.println("

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("






WELCOME ACCOUNTS DETAILS OPTIONS "); + out.println("

"); + out.println("NEWACCOUNT CREATION"); + out.println("

"); + out.println("OLDACCOUNT DEATILS
"); + 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("Balance Transfer"); + out.println(""); + out.println(""); + + out.println(""); + out.println("
"); + out.println("
"); + out.println("
"); + out.println("

BALANCE TRANSFER DETAILS

"); + out.println(""); + out.println("

 

"); + out.println(""); + out.println("

"); + out.println(""); + out.println(""); + out.println(""); + out.println(""); + out.println(""); + out.println(""); + out.println(""); + out.println(""); + out.println(""); + out.println("
"); + out.println("
Customer Card Number:
"); + out.println("
"); + out.println(""); + out.println("
"); + out.println("
Shop Account No:
"); + out.println("
"); + out.println(""); + out.println("
"); + out.println("
Amount Transfer:
"); + out.println("
"); + out.println(""); + out.println("
"); + out.println("

"); + out.println(""); + out.println("

"); + out.println("
"); + out.println("
"); + 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("
Amount is added to Shop account"); + pw.println("
"); + pw.println("The Total Amount in Shop account:
"+s5); + pw.println("


"); + st1.executeUpdate("update account set amount="+s5+" where accountno="+s11); + break; + } + } + s55=s2-c2; + pw.println("
Amount is Decreased to Your Card"); + pw.println("
"); + pw.println(" Now, The Total Amount in Your Card:
"+s55); + pw.println("


"); + pw.println("SELECTION
"); + st2.executeUpdate("update card set cardtype="+s55+" where cardno="+s1); + temp=temp+1; + break; + } + else + temp=0; + + } + if (temp==0) + { + pw.println("Card Number,Amount Validation"); + pw.println(""); + pw.println("
Please check your CARD number and Amount

"); + pw.println("Previous
"); + pw.println(""); + } + + } + catch(Exception e) + { + pw.println("hai"+e); + } + } +} \ No newline at end of file diff --git a/best_card.java b/best_card.java new file mode 100644 index 0000000..a9aeebc --- /dev/null +++ b/best_card.java @@ -0,0 +1,49 @@ +import javax.servlet.*; +import javax.servlet.http.*; +import java.io.*; +public class best_card extends HttpServlet +{ + public void doGet(HttpServletRequest re,HttpServletResponse rs) + throws ServletException,IOException + { + rs.setContentType("text/html"); + PrintWriter out=rs.getWriter(); + out.println(""); + out.println("Cyber Credit Card System"); + out.println(""); + out.println(""); + out.println(" "); + out.println("CYBER CREDIT CARD SYSTEM"); + out.println("
"); + out.println(""); + out.println("

Chosse The Best Card

"); + out.println(""); + out.println("Acceptability
"); + out.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("Eligibility
"); + out.println("

All 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("Fees
"); + out.println("

One 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 Charges
"); + out.println("

Its 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 period
"); + out.println("

That'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 Advance
"); + out.println("

You 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 Cover
"); + out.println("

Insurance 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("Missed Card Details"); + out.println(""); + out.println(""); + + out.println(""); + out.println("
"); + out.println("
"); + out.println("
"); + out.println("

Missed Card Details"); + out.println(""); + out.println("

"); + out.println("
"); + out.println("

"); + out.println(""); + out.println(""); + out.println(""); + out.println("Card No:"); + out.println("

"); + out.println(""); + out.println(""); + out.println(""); + out.println(""); + out.println("Sno:       "); + out.println("

"); + out.println(""); + } +} \ No newline at end of file diff --git a/cardmiss1.java b/cardmiss1.java new file mode 100644 index 0000000..83692cf --- /dev/null +++ b/cardmiss1.java @@ -0,0 +1,50 @@ +import java.io.*; +import javax.servlet.*; +import javax.servlet.http.*; +import java.sql.*; +public class cardmiss1 extends HttpServlet +{ + PrintWriter pw; + Connection con; + Statement st; + ResultSet r; + String s1,s2,s3,s4; + 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(); + response.setContentType("text/html"); + pw=response.getWriter(); + } + catch (Exception e) + { + pw.println("DSN ERROR"+e); + } + try + { + s3=request.getParameter("cno"); + int s31=Integer.parseInt(s3); + s4=request.getParameter("sno"); + int s41=Integer.parseInt(s4); + s31=s31+3; + s41=s41+3; + st.executeUpdate("insert into mcard values("+s31+","+s41+")"); + pw.println(""); + pw.println("

"); + pw.println("



Missed card details are stored"); + pw.println("



BACK"); + pw.println("
"); + //pw.println("
"); + + + } + catch(Exception e) + { + pw.println(e); + } + } +} \ No newline at end of file diff --git a/cards_hpcl_goldvisa.jpg b/cards_hpcl_goldvisa.jpg new file mode 100644 index 0000000..024874a Binary files /dev/null and b/cards_hpcl_goldvisa.jpg differ diff --git a/cards_hpcl_silvervisa.jpg b/cards_hpcl_silvervisa.jpg new file mode 100644 index 0000000..99ab28e Binary files /dev/null and b/cards_hpcl_silvervisa.jpg differ diff --git a/cardselection.java b/cardselection.java new file mode 100644 index 0000000..85123c5 --- /dev/null +++ b/cardselection.java @@ -0,0 +1,84 @@ +import java.io.*; +import javax.servlet.*; +import javax.servlet.http.*; +import java.sql.*; +import java.util.Date; +public class cardselection extends HttpServlet +{ + PrintWriter pw; + Connection con; + Statement st,st1; + String s1,s2,s3,s4,s5,s6,s11; + int sn,sn1,cn,cn1; + HttpSession hs; + ResultSet rs; + 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(); + } + catch(Exception e) + { + pw.println("DSN ERROR"+e); + } + try + { + response.setContentType("text/html"); + PrintWriter out=response.getWriter(); + hs=request.getSession(true); + String nname=(String)hs.getValue("uname"); + rs=st.executeQuery("select max(cardno),max(sno) from card"); + while(rs.next()) + { + s1=rs.getString(1); + s2=rs.getString(2); + } + cn=Integer.parseInt(s1); + cn1=cn+1; + sn=Integer.parseInt(s2); + sn1=sn+1; + Date date=new Date(); + s3=request.getParameter("name"); + s4=request.getParameter("type"); + s5=request.getParameter("day"); + st.executeUpdate("insert into card values("+cn1+","+sn1+",'"+s3+"','"+s4+"','"+s5+"')"); + out.println(""); + out.println("

"); + out.println("
"); + out.println("
"); + out.println("SELECTION DETAILS"); + out.println("
"); + out.println(""); + out.println(""); + int cn2=cn1-3; + int sn2=sn1-3; + out.println(""); + out.println(""); + out.println(""); + out.println(""); + out.println(""); + out.println(""); + out.println(""); + out.println(""); + out.println("
HOLDER NAMECARD NUMBERSECURITY NUMBERCARD TYPE AMOUNT
"+nname+""+cn2+""+sn2+""+s4+"
"); + out.println("

"); + out.println("YOUR CARD PICKUP DATE:"); + out.println(date); + out.println("

"); + out.println("Login"); + out.println("

"); + /*out.println("PURCHASE LIMIT"); + out.println("

"); + out.println("STATEMENT");*/ + out.close(); + } + catch(Exception e) + { + System.out.println(e); + } + } +} diff --git a/cardvalid.java b/cardvalid.java new file mode 100644 index 0000000..da31972 --- /dev/null +++ b/cardvalid.java @@ -0,0 +1,75 @@ +import java.io.*; +import javax.servlet.*; +import javax.servlet.http.*; +import java.sql.*; +public class cardvalid extends HttpServlet +{ + PrintWriter pw; + Connection con; + Statement st,st1; + int s31,s41; + ResultSet r,r1; + String s1,s2,s3,s4; + String send1="http://localhost:8080/servlet/limit"; + String send2="http://localhost:8080/servlet/invalid1"; + 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(); + response.setContentType("text/html"); + pw=response.getWriter(); + } + catch (Exception e) + { + pw.println("DSN ERROR"+e); + } + try + { int temp=0; + s3=request.getParameter("cno"); + s31=Integer.parseInt(s3); + s4=request.getParameter("sno"); + s41=Integer.parseInt(s4); + ResultSet r1=st1.executeQuery("select cardno,secno from mcard"); + while(r1.next()) + { + int s11=r1.getInt(1); + int s22=r1.getInt(2); + if(s31==(s11-3) && s41==(s22-3)) + { + pw.println(""); + pw.println("



"); + pw.println("

This Credit Card Was blocked

"); + pw.println("

For further information contact us in the following address
"); + pw.println("
Hindustan Software Limited
"); + pw.println("No.120 Wallajah Road,
"); + pw.println("Triplicane, Chennai-2"); + pw.println("

BACK

"); + temp=1; + } + } + if(temp!=1) + { + ResultSet r=st.executeQuery("select cardno,sno from card"); + while(r.next()) + { + int s1=r.getInt(1); + int s2=r.getInt(2); + if ((s31+3)==s1 && (s41+3)==s2) + { + response.sendRedirect(send1); + } + } + response.sendRedirect(send2); + } + } + catch(Exception e) + { + pw.println(e); + } + } +} \ No newline at end of file diff --git a/ccs.ldb b/ccs.ldb new file mode 100644 index 0000000..867f206 Binary files /dev/null and b/ccs.ldb differ diff --git a/ccs.mdb b/ccs.mdb new file mode 100644 index 0000000..ac89cb9 Binary files /dev/null and b/ccs.mdb differ diff --git a/citibankcricvisa.gif b/citibankcricvisa.gif new file mode 100644 index 0000000..90b40b3 Binary files /dev/null and b/citibankcricvisa.gif differ diff --git a/citibanksilver.gif b/citibanksilver.gif new file mode 100644 index 0000000..ee18309 Binary files /dev/null and b/citibanksilver.gif differ diff --git a/colorful.gif b/colorful.gif new file mode 100644 index 0000000..db1154f Binary files /dev/null and b/colorful.gif differ diff --git a/contact.java b/contact.java new file mode 100644 index 0000000..2dd7ba5 --- /dev/null +++ b/contact.java @@ -0,0 +1,32 @@ +import javax.servlet.*; +import javax.servlet.http.*; +import java.io.*; +public class contact extends HttpServlet +{ + public void doGet(HttpServletRequest re,HttpServletResponse rs) + throws ServletException,IOException + { + rs.setContentType("text/html"); + PrintWriter out=rs.getWriter(); + out.println(""); + out.println("Cyber Credit Card System"); + out.println(""); + out.println(""); + out.println(" "); + out.println("CYBER CREDIT CARD SYSTEM"); + out.println("
"); + out.println("

Contact

"); + out.println(""); + out.println("

G.BHAGAVATHINATH
"); + out.println("S/o V.GURUSAMY,
"); + out.println("L2/89,RAILARNAGAR,
"); + out.println("MADURAI,
"); + out.println("Tamil Nadu.
"); + out.println("PH: 3112793
"); + out.println("E-mail:mrbhaga@yahoo.co.in
"); + out.println(""); + out.println(""); + out.println(""); + out.close(); + } +} \ No newline at end of file diff --git a/contact.jsp b/contact.jsp new file mode 100644 index 0000000..8c8ee2f --- /dev/null +++ b/contact.jsp @@ -0,0 +1,1526 @@ +<%@page contentType="text/html"%> +<%@page pageEncoding="UTF-8"%> +<%-- +The taglib directive below imports the JSTL library. If you uncomment it, +you must also add the JSTL library to the project. The Add Library... action +on Libraries node in Projects view can be used to add the JSTL 1.1 library. +--%> +<%-- +<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> +--%> + + + + + + + RESERVATION CONTACT SERVICES + + + +

FEEL FREELY TO CONTACT US

+ + <%-- + This example uses JSTL, uncomment the taglib directive above. + To test, display the page like this: index.jsp?sayHello=true&name=Murphy + --%> + <%-- + + + Hello ${param.name}! + + --%> + + + +MakeMyTrip: Contact Us, Address, Phone Number / No., Toll Free Number, Offices, New Delhi India, US, Australia + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + +
  
  +

+

+ + + + + + + +
+ + + + + + + + + + + + +
  +   +   +   +  
+
Contact Us
+ + + + +
+ + + + + +
 
+ + + + + + + +
we're + here for you
+ + + + +
Our team is always + ready to assist you. Call us and you'll get + immediate help.
+ + + + + + + +
+
1-800-11 + 8747
Toll Free + from BSNL & MTNL phones

1-800-102 + 8747
Toll Free for + Airtel subscribers

0124-4628747, +
0124-2898747
+ (Gurgaon)

011-4352 8687 (Delhi)

079-4008 8747 (Ahmedabad)

080-4113 8747 (Bangalore)

022-6518 8687 (Mumbai)

033-4005 8747,
033-4005 + 8687
(Kolkata) +

0261-6548747 + (Surat) +

044-4261 8747 + (Chennai) +
+
 
+


World Travel Awards


+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 
Contact Us
COMPANY + OFFICES
 
+ + + + +
Delhi & NCR Click + here for Contact Information +
+
 
+ + + + +
AhmedabadClick + here for Contact Information +
+
 
+ + + + +
MumbaiClick + here for Contact Information +
+
 
+ + + + +
BangaloreClick + here for Contact Information +
+
 
+ + + + +
KolkataClick + here for Contact Information +
+
 
+ + + + +
SuratClick + here for Contact Information +
+
 
+
+ + + + +
VadodaraClick + here for Contact Information +
+
 
+ + + + +
CHENNAIClick + here for Contact Information +
+
 
+
+ + + + +
New YorkClick + here for Contact Information +
+
 
+
+ + + + +
AustraliaClick + here for Contact Information +
+
+ + + + +
 TOP
AIRPORT + COUNTERS
 
+
+ + + + +
MakeMyTrip counter at the AirportClick + here for Contact Information +
+
 
+ + + + + + + + + + + + + +

+ + + + + + + + + + + + + + + + + +
MY MMT

My + Itineraries
My + Account
2007 + MakeMyTrip.com
+
 
+ + + + + + + + + diff --git a/contact_us.jpg b/contact_us.jpg new file mode 100644 index 0000000..3150ea2 Binary files /dev/null and b/contact_us.jpg differ diff --git a/cost_card.java b/cost_card.java new file mode 100644 index 0000000..d6f44f8 --- /dev/null +++ b/cost_card.java @@ -0,0 +1,73 @@ +import javax.servlet.*; +import javax.servlet.http.*; +import java.io.*; +public class cost_card extends HttpServlet +{ + public void doGet(HttpServletRequest re,HttpServletResponse rs) + throws ServletException,IOException + { + rs.setContentType("text/html"); + PrintWriter out=rs.getWriter(); + out.println(""); + out.println("Cyber Credit Card System"); + out.println(""); + out.println(""); + out.println(" "); + out.println("CYBER CREDIT CARD SYSTEM"); + out.println("
"); + out.println(""); + out.println("

Cost Of The Cards

"); + out.println("Putting The Genie Back In The Bottle:"); + out.println("

For those who habitually treat their plastic card as the ever-obedient Genie to every command, "); + out.println("taking in the details of the monthly bill is like seeing Cutsie transform into a Frankenstien's monster"); + out.println("instead.

"); + out.println("Renewal:"); + out.println("

Check the time of the renewal of the card. Are you used to ignoring the credit card issuer's "); + out.println("flood of literature or the details of billing. Often, the card issuer or bank will slip in renewal fees"); + out.println("and even an unsolicited upgrade of class of card (say, classic to premium that means higher annual "); + out.println("fees) with a mild notice: If you don't say `No', its taken as a 'Yes'.

"); + + out.println("Interest-Free Period On Every Bill:"); + out.println("

Not if you have roll over credit. You did take a card not just for convenience. The facility"); + out.println(" of being able to pay back in bits is very appealing, especially since the interest rates is, say, 2.5 "); + out.println("to 3% a month. Did you ever sit down and do some sums to see why the outstanding amount is"); + out.println(" mounting like crazy? First, the 2.5% averages 30% a year. Next, the outstanding you acquire in the"); + out.println(" first month has to be cleared in subsequent bills before your fresh purchases can be paid for. Here"); + out.println(" is how it works. Assuming you have a bill of Rs100 in the first month and you settle Rs25. If you "); + out.println("give Rs50 as part payment, the money goes toward clearing the previous outstanding and the current"); + out.println(" billing is taken as further outstanding.

"); + + out.println("Purchases On Credit:"); + out.println("

In some shops or retail outlets, card payments means an extra payment added to the bill by "); + out.println("an establishment that does not want to encourage plastic money.

"); + + out.println("Fuel On Credit:"); + out.println("

Now that you would say is a real boon. Is it? Every time you fill the tank, the service"); + out.println("charge that accompanies each transaction could be 2.5 percent. Small change that adds up "); + out.println("to a fat sum in the total.

"); + + out.println("Billing Period:"); + out.println("

Every cardholder gets the bill in regular monthly cycles. The billing period can be a "); + out.println("double-edged sword. If you make a purchase close to the billing date you get shorter payback "); + out.println("time and if you buy just after you get a monthly statement, the credit period can be extended "); + out.println("to as much as 45 days. This is how. Suppose the first billing date is April 25, after which there "); + out.println("is a pay-by-due-date of a fortnight later, around the May 9. A purchase on May 26 will be payable"); + out.println(" approximately around June 9 but a purchase on April 23 will be payable by May 9, that is a much"); + out.println(" shorter credit time.

"); + + out.println("Cash Advance:"); + out.println("

The clock starts ticking straightaway on this facility. Usually, there are two sets of interest"); + out.println(" that are applied the moment the cash leaves the teller machine. First, there is a flat transaction fee. "); + out.println("Second there is a rate of interest that is applied on a daily basis. Thus in the bill you end up with a"); + out.println(" dual interest. The cash advance payment is not included, usually, in the general bill. So either be"); + out.println(" circumspect or if you have to flirt with temptation than rein in the hook as fast as you can. Clubbing"); + out.println("this outgo to a roll-over credit habit can be especially fatal.

"); + + out.println("And, the genie could end up owning you.
"); + out.println("
TOP"); + out.println(""); + out.println(""); + out.println(""); + out.close(); + } +} \ No newline at end of file diff --git a/credit.java b/credit.java new file mode 100644 index 0000000..05eb30b --- /dev/null +++ b/credit.java @@ -0,0 +1,87 @@ +import java.io.*; +import javax.servlet.http.*; +import javax.servlet.*; +public class credit extends HttpServlet +{ + public void doGet(HttpServletRequest request,HttpServletResponse response) + throws ServletException,IOException + { + response.setContentType("text/html"); + PrintWriter out=response.getWriter(); + out.println("Card Selection"); + /*out.println("");*/ + out.println(""); + out.println(""); + out.println(""); + out.println("


"); + out.println("
"); + out.println(""); + out.println(""); + out.println(""); + out.println(""); + out.println("
"); + out.println(""); + out.println(""); + out.println("
"); + out.println(""); + out.println(""); + out.println(""); + out.println("
"); + out.println("
"); + out.println("

Card Selection

"); + out.println("

 

"); + out.println("
"); + out.println(""); + out.println(""); + out.println(""); + out.println(""); + out.println(""); + out.println(""); + out.println(""); + out.println(""); + out.println(""); + out.println(""); + out.println("
"); + out.println("
Credit Card Name:"); + out.println("
"); + out.println("VISA"); + out.println("MASTER CARD
"); + out.println("
Credit Card Type:"); + out.println("
"); + out.println("SILVER"); + out.println("GOLD"); + out.println("PLATINUM"); + out.println(""); + out.println("
"); + out.println("
Bank Name:
"); + out.println("
"); + out.println("


"); + out.println(""); + out.println("
"); + out.println(""); + out.println(""); + out.println(""); + } +} diff --git a/divider_nav.gif b/divider_nav.gif new file mode 100644 index 0000000..b4c511a Binary files /dev/null and b/divider_nav.gif differ diff --git a/email4.gif b/email4.gif new file mode 100644 index 0000000..4a9b7a6 Binary files /dev/null and b/email4.gif differ diff --git a/exclusive_holiday.gif b/exclusive_holiday.gif new file mode 100644 index 0000000..fcc30d3 Binary files /dev/null and b/exclusive_holiday.gif differ diff --git a/exclusive_holiday_obt.gif b/exclusive_holiday_obt.gif new file mode 100644 index 0000000..36f76a8 Binary files /dev/null and b/exclusive_holiday_obt.gif differ diff --git a/fact.class b/fact.class new file mode 100644 index 0000000..5f5a90d Binary files /dev/null and b/fact.class differ diff --git a/fact.java b/fact.java new file mode 100644 index 0000000..8a81260 --- /dev/null +++ b/fact.java @@ -0,0 +1,36 @@ +import javax.servlet.*; +import javax.servlet.http.*; +import java.io.*; +public class fact extends HttpServlet +{ + public void doGet(HttpServletRequest re,HttpServletResponse rs) + throws ServletException,IOException + { + rs.setContentType("text/html"); + PrintWriter out=rs.getWriter(); + out.println(""); + out.println("Cyber Credit Card System"); + out.println(""); + out.println(""); + out.println(" "); + out.println("CYBER CREDIT CARD SYSTEM"); + out.println("
"); + out.println("

Hard facts

"); + out.println(""); + out.println("Visa International has the largest global ATM network in over 113 countries."); + + out.println("

Mastercard International has over 23,000 member financial institutions serving consumers"); + out.println(" in 220 countries and territories and has over 3,50,000 ATM locations around the globe.

"); + + out.println("The first card was issued in India by Visa in 1981."); + + out.println("The country's first Gold Card was also issued from Visa in 1986."); + + out.println("

The first international credit card was issued to a restricted number of customers by Andhra Bank"); + out.println("in 1987 through the Visa program, after getting special permission from the Reserve Bank of India.

"); + out.println(""); + out.println(""); + out.println(""); + out.close(); + } +} \ No newline at end of file diff --git a/first.class b/first.class new file mode 100644 index 0000000..84b932d Binary files /dev/null and b/first.class differ diff --git a/first.java b/first.java new file mode 100644 index 0000000..b106d5b --- /dev/null +++ b/first.java @@ -0,0 +1,23 @@ +import javax.servlet.*; +import javax.servlet.http.*; +import java.io.*; +public class first extends HttpServlet +{ + public void doGet(HttpServletRequest re,HttpServletResponse rs) + throws ServletException,IOException + { + rs.setContentType("text/html"); + PrintWriter out=rs.getWriter(); + out.println(""); + out.println(""); + out.println("Cyber credit card system"); + out.println(""); + out.println(""); + out.println(" "); + out.println(" "); + out.println(""); + out.println(""); + out.println(""); + out.close(); + } +} \ No newline at end of file diff --git a/flashing_arrow.gif b/flashing_arrow.gif new file mode 100644 index 0000000..090e595 Binary files /dev/null and b/flashing_arrow.gif differ diff --git a/flashing_line.gif b/flashing_line.gif new file mode 100644 index 0000000..c3db830 Binary files /dev/null and b/flashing_line.gif differ diff --git a/flight_hotel_super.gif b/flight_hotel_super.gif new file mode 100644 index 0000000..412e4ef Binary files /dev/null and b/flight_hotel_super.gif differ diff --git a/gloss_of_terms.class b/gloss_of_terms.class new file mode 100644 index 0000000..0d969ff Binary files /dev/null and b/gloss_of_terms.class differ diff --git a/gloss_of_terms.java b/gloss_of_terms.java new file mode 100644 index 0000000..34eaab3 --- /dev/null +++ b/gloss_of_terms.java @@ -0,0 +1,117 @@ +import javax.servlet.*; +import javax.servlet.http.*; +import java.io.*; +public class gloss_of_terms extends HttpServlet +{ + public void doGet(HttpServletRequest re,HttpServletResponse rs) + throws ServletException,IOException + { + rs.setContentType("text/html"); + PrintWriter out=rs.getWriter(); + out.println(""); + out.println("Cyber Credit Card System"); + out.println(""); + out.println(""); + out.println(" "); + out.println("CYBER CREDIT CARD SYSTEM"); + out.println("
"); + out.println(""); + out.println("

Glossary Of Terms

"); + out.println("

Credit Card"); + out.println(" -A credit card is a financial instrument, which can be used more than once"); + out.println(" to borrow money or buy products and services on credit. Banks, retail stores and other"); + out.println(" businesses generally issue these."); + out.println("

Credit limit"); + out.println(" -The maximum amount of charges a cardholder may apply to the account.

"); + out.println("

Annual fee - "); + out.println("A bank charge for use of a credit card levied each year, which ranges depending upon the"); + out.println(" type of card one possesses. Banks usually take an initial fixed amount in the first year and "); + out.println("then a lower amount as yearly renewal fees.

"); + out.println("

Revolving Line Of Credit -"); + out.println(" An agreement to lend a specific amount to a borrower and to allow that amount to be borrowed"); + out.println(" again once it has been repaid. Most credit cards offer revolving credit.

"); + + out.println("

Personal Identification Number (PIN) -"); + out.println("As a security measure, some cards require a number to be punched into a keypad before "); + out.println("transaction can be completed. The number can usually be changed by the cardholder.

"); + + out.println("

Teaser Rate -"); + out.println("Often called the introductory rate, it is the below-market interest rate offered to entice customers"); + out.println("to switch credit cards.

"); + + out.println("

Joint Credit -"); + out.println(" Issued to a couple based on both of their assets, incomes and credit reports. It generally "); + out.println("results in a higher credit limit, but makes both parties responsible for repaying the debt.

"); + + out.println("Types Of Cards"); + out.println("

MasterCard - "); + out.println("MasterCard is a product of MasterCard International and along with VISA are distributed"); + out.println("by financial institutions around the world. Cardholders borrow money against a line of credit "); + out.println("and pay it back with interest if the balance is carried over from month to month.

"); + + out.println("

VISA Card - "); + out.println("VISA cards is a product of VISA USA and along with MasterCard is distributed by financial "); + out.println("institutions around the world. A VISA cardholder borrows money against a credit line and"); + out.println("repays the money with interest if the balance is carried over from month to month in a "); + out.println("revolving line of credit.

"); + + out.println("

Classic Card - "); + out.println("Brand name for the standard card issued by VISA."); + + out.println("

Gold Card/Executive Card -"); + out.println(" A credit card that offers a higher line of credit than a standard card"); + out.println("Income eligibility is also higher. In addition, issuers provide extra perks or incentives to cardholders.

"); + + out.println("

Secured Card -"); + out.println(" A credit card that a cardholder secures with a savings deposit to ensure payment "); + out.println("of the outstanding balance if the cardholder defaults on payments. It is used by people"); + out.println("new to credit, or people trying to rebuild their poor credit ratings.

"); + + out.println("

Smart Card - "); + out.println("Smart cards, sometimes called chip cards, contain a computer chip embedded in"); + out.println("the plastic. Where a typical credit card's magnetic stripe can hold only a few dozen characters,"); + out.println("smart cards are now available with 16K of memory. When read by a special terminals, the cards"); + out.println("can perform a number of functions or access data stored in the chip. These cards can be used as"); + out.println("cash cards or as credit cards with a preset credit limit, or used as ID cards with stored-in passwords."); + out.println("

"); + out.println("

Rebate Card - "); + out.println("This is a card that allows the customer to accumulate cash, merchandise or services"); + out.println("based on card usage.

"); + + out.println("

Co-Branded Card - "); + out.println("This is a marriage of convenience between two service providers who want"); + out.println("a trade-off with the other's strengths. Specific facilities are made to members through these tie-ups.

"); + + out.println("Travel Card - "); + out.println("These work mostly as debit cards for the limited purpose of travel. "); + + out.println("

Debit Card -"); + out.println(" It is the accountholder's mobile ATM. Open an account with a bank that offers a"); + out.println(" debit card, and payments for purchases are deducted from your bank account. The retailer swipes"); + out.println(" the card over an electronic terminal at his outlet, you enter the PIN on a PIN pad and the money is"); + out.println(" immediately debited at the bank. Citibank and a few domestic banks like Times Bank offer this."); + out.println("

"); + out.println("The Positives:"); + out.println("

"); + out.println("Want to go take your girlfriend out for dinner? Be smart enough to carry a credit card along with you. "); + out.println("Or otherwise, like the young man in the Standard Chartered ad, the cash you have could prove to be "); + out.println("'a pain the neck'. There are other tangible benefits also. With a credit card one can spare frequent visits"); + out.println(" to the bank for withdrawing cash. The purchases you make can be paid for after a month or so before"); + out.println(" it starts attracting interest."); + out.println("Nowadays, a credit card has many freebies attached to it. For starters, you can log on free air miles"); + out.println(" and hotel nights every time you use a Citibank credit card. One can also get a certain amount of extra"); + out.println(" protection on one's purchases with a credit card. For example, a HSBC card insures you for lost"); + out.println(" baggage and damages by theft or fire.

"); + out.println("The Negatives:"); + out.println("

"); + out.println("If you are prone to go on shopping binges, beware, the plastic money in your possession makes "); + out.println("it a little too easy. And one may not know of it till the monthly bill stares right on your face. "); + out.println("Secondly, one may end up paying too much if the balance is allowed to carry over for a long"); + out.println(" period of time. For this it is important to read the fine print before one applies for a card.

"); + out.println("
TOP"); + out.println(""); + out.println(""); + out.println(""); + out.close(); + } +} \ No newline at end of file diff --git a/goldcards.gif b/goldcards.gif new file mode 100644 index 0000000..f13493e Binary files /dev/null and b/goldcards.gif differ diff --git a/javadoc/First.html b/javadoc/First.html new file mode 100644 index 0000000..f4307a7 --- /dev/null +++ b/javadoc/First.html @@ -0,0 +1,279 @@ + + + + + + +First + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+Class First

+
+java.lang.Object
+  extended by javax.servlet.GenericServlet
+      extended by javax.servlet.http.HttpServlet
+          extended by First
+
+
+
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
+
+
+
+
public class First
extends javax.servlet.http.HttpServlet
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
First() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ voiddoPost(javax.servlet.http.HttpServletRequest req, + javax.servlet.http.HttpServletResponse res) + +
+           
+ + + + + + + +
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, service
+ + + + + + + +
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+First

+
+public First()
+
+
+ + + + + + + + +
+Method Detail
+ +

+doPost

+
+public void doPost(javax.servlet.http.HttpServletRequest req,
+                   javax.servlet.http.HttpServletResponse res)
+            throws javax.servlet.ServletException,
+                   java.io.IOException
+
+
+
Overrides:
doPost in class javax.servlet.http.HttpServlet
+
+
+ +
Throws: +
javax.servlet.ServletException +
java.io.IOException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/javadoc/allclasses-frame.html b/javadoc/allclasses-frame.html new file mode 100644 index 0000000..e0e8afe --- /dev/null +++ b/javadoc/allclasses-frame.html @@ -0,0 +1,30 @@ + + + + + + +All Classes + + + + + + + + + + +All Classes +
+ + + + + +
First +
+
+ + + diff --git a/javadoc/allclasses-noframe.html b/javadoc/allclasses-noframe.html new file mode 100644 index 0000000..77db738 --- /dev/null +++ b/javadoc/allclasses-noframe.html @@ -0,0 +1,30 @@ + + + + + + +All Classes + + + + + + + + + + +All Classes +
+ + + + + +
First +
+
+ + + diff --git a/javadoc/class-use/First.html b/javadoc/class-use/First.html new file mode 100644 index 0000000..5347176 --- /dev/null +++ b/javadoc/class-use/First.html @@ -0,0 +1,138 @@ + + + + + + +Uses of Class First + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
First

+
+No usage of First +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/javadoc/constant-values.html b/javadoc/constant-values.html new file mode 100644 index 0000000..06a2624 --- /dev/null +++ b/javadoc/constant-values.html @@ -0,0 +1,140 @@ + + + + + + +Constant Field Values + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Constant Field Values

+
+
+Contents
    +
+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/javadoc/deprecated-list.html b/javadoc/deprecated-list.html new file mode 100644 index 0000000..b990e3a --- /dev/null +++ b/javadoc/deprecated-list.html @@ -0,0 +1,140 @@ + + + + + + +Deprecated List + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Deprecated API

+
+
+Contents
    +
+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/javadoc/help-doc.html b/javadoc/help-doc.html new file mode 100644 index 0000000..5036f87 --- /dev/null +++ b/javadoc/help-doc.html @@ -0,0 +1,211 @@ + + + + + + +API Help + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+How This API Document Is Organized

+
+This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.

+Package

+
+ +

+Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain four categories:

    +
  • Interfaces (italic)
  • Classes
  • Enums
  • Exceptions
  • Errors
  • Annotation Types
+
+

+Class/Interface

+
+ +

+Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:

    +
  • Class inheritance diagram
  • Direct Subclasses
  • All Known Subinterfaces
  • All Known Implementing Classes
  • Class/interface declaration
  • Class/interface description +

    +

  • Nested Class Summary
  • Field Summary
  • Constructor Summary
  • Method Summary +

    +

  • Field Detail
  • Constructor Detail
  • Method Detail
+Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.
+ +

+Annotation Type

+
+ +

+Each annotation type has its own separate page with the following sections:

    +
  • Annotation Type declaration
  • Annotation Type description
  • Required Element Summary
  • Optional Element Summary
  • Element Detail
+
+ +

+Enum

+
+ +

+Each enum has its own separate page with the following sections:

    +
  • Enum declaration
  • Enum description
  • Enum Constant Summary
  • Enum Constant Detail
+
+

+Use

+
+Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.
+

+Tree (Class Hierarchy)

+
+There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object. The interfaces do not inherit from java.lang.Object.
    +
  • When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.
  • When viewing a particular package, class or interface page, clicking "Tree" displays the hierarchy for only that package.
+
+

+Deprecated API

+
+The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.
+

+Index

+
+The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.
+

+Prev/Next

+These links take you to the next or previous class, interface, package, or related page.

+Frames/No Frames

+These links show and hide the HTML frames. All pages are available with or without frames. +

+

+Serialized Form

+Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description. +

+

+Constant Field Values

+The Constant Field Values page lists the static final fields and their values. +

+ + +This help file applies to API documentation generated using the standard doclet. + +
+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/javadoc/index-files/index-1.html b/javadoc/index-files/index-1.html new file mode 100644 index 0000000..3491766 --- /dev/null +++ b/javadoc/index-files/index-1.html @@ -0,0 +1,139 @@ + + + + + + +D-Index + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +D F
+

+D

+
+
doPost(HttpServletRequest, HttpServletResponse) - +Method in class First +
  +
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +D F
+ + + diff --git a/javadoc/index-files/index-2.html b/javadoc/index-files/index-2.html new file mode 100644 index 0000000..30456db --- /dev/null +++ b/javadoc/index-files/index-2.html @@ -0,0 +1,139 @@ + + + + + + +F-Index + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +D F
+

+F

+
+
First - Class in <Unnamed>
 
First() - +Constructor for class First +
  +
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +D F
+ + + diff --git a/javadoc/index.html b/javadoc/index.html new file mode 100644 index 0000000..eb48042 --- /dev/null +++ b/javadoc/index.html @@ -0,0 +1,34 @@ + + + + + + +Generated Documentation (Untitled) + + + + + + + + +<H2> +Frame Alert</H2> + +<P> +This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. +<BR> +Link to<A HREF="First.html">Non-frame version.</A> + + + diff --git a/javadoc/overview-tree.html b/javadoc/overview-tree.html new file mode 100644 index 0000000..38b6f3d --- /dev/null +++ b/javadoc/overview-tree.html @@ -0,0 +1,149 @@ + + + + + + +Class Hierarchy + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For All Packages

+
+

+Class Hierarchy +

+
    +
  • java.lang.Object
      +
    • javax.servlet.GenericServlet (implements java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig) +
        +
      • javax.servlet.http.HttpServlet (implements java.io.Serializable) + +
      +
    +
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/javadoc/package-frame.html b/javadoc/package-frame.html new file mode 100644 index 0000000..4221bd5 --- /dev/null +++ b/javadoc/package-frame.html @@ -0,0 +1,32 @@ + + + + + + +<Unnamed> + + + + + + + + + + + +<Unnamed> + + + + +
+Classes  + +
+First
+ + + + diff --git a/javadoc/package-list b/javadoc/package-list new file mode 100644 index 0000000..d3f5a12 --- /dev/null +++ b/javadoc/package-list @@ -0,0 +1 @@ + diff --git a/javadoc/package-summary.html b/javadoc/package-summary.html new file mode 100644 index 0000000..a3279bb --- /dev/null +++ b/javadoc/package-summary.html @@ -0,0 +1,144 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package <Unnamed> +

+ + + + + + + + + +
+Class Summary
First 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/javadoc/package-tree.html b/javadoc/package-tree.html new file mode 100644 index 0000000..27ff725 --- /dev/null +++ b/javadoc/package-tree.html @@ -0,0 +1,150 @@ + + + + + + + Class Hierarchy + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package <Unnamed> +

+
+

+Class Hierarchy +

+
    +
  • java.lang.Object
      +
    • javax.servlet.GenericServlet (implements java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig) +
        +
      • javax.servlet.http.HttpServlet (implements java.io.Serializable) + +
      +
    +
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/javadoc/package-use.html b/javadoc/package-use.html new file mode 100644 index 0000000..bcbc572 --- /dev/null +++ b/javadoc/package-use.html @@ -0,0 +1,138 @@ + + + + + + +Uses of Package + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Package

+
+No usage of +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/javadoc/resources/Thumbs.db b/javadoc/resources/Thumbs.db new file mode 100644 index 0000000..0544943 Binary files /dev/null and b/javadoc/resources/Thumbs.db differ diff --git a/javadoc/resources/inherit.gif b/javadoc/resources/inherit.gif new file mode 100644 index 0000000..c814867 Binary files /dev/null and b/javadoc/resources/inherit.gif differ diff --git a/javadoc/serialized-form.html b/javadoc/serialized-form.html new file mode 100644 index 0000000..fac7fab --- /dev/null +++ b/javadoc/serialized-form.html @@ -0,0 +1,157 @@ + + + + + + +Serialized Form + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Serialized Form

+
+
+ + + + + +
+Package <Unnamed>
+ +

+ + + + + +
+Class First extends javax.servlet.http.HttpServlet implements Serializable
+ +

+ +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/javadoc/stylesheet.css b/javadoc/stylesheet.css new file mode 100644 index 0000000..14c3737 --- /dev/null +++ b/javadoc/stylesheet.css @@ -0,0 +1,29 @@ +/* Javadoc style sheet */ + +/* Define colors, fonts and other style attributes here to override the defaults */ + +/* Page background color */ +body { background-color: #FFFFFF } + +/* Headings */ +h1 { font-size: 145% } + +/* Table colors */ +.TableHeadingColor { background: #CCCCFF } /* Dark mauve */ +.TableSubHeadingColor { background: #EEEEFF } /* Light mauve */ +.TableRowColor { background: #FFFFFF } /* White */ + +/* Font used in left-hand frame lists */ +.FrameTitleFont { font-size: 100%; font-family: Helvetica, Arial, sans-serif } +.FrameHeadingFont { font-size: 90%; font-family: Helvetica, Arial, sans-serif } +.FrameItemFont { font-size: 90%; font-family: Helvetica, Arial, sans-serif } + +/* Navigation bar fonts and colors */ +.NavBarCell1 { background-color:#EEEEFF;} /* Light mauve */ +.NavBarCell1Rev { background-color:#00008B;} /* Dark Blue */ +.NavBarFont1 { font-family: Arial, Helvetica, sans-serif; color:#000000;} +.NavBarFont1Rev { font-family: Arial, Helvetica, sans-serif; color:#FFFFFF;} + +.NavBarCell2 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF;} +.NavBarCell3 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF;} + diff --git a/nbproject/ant-deploy.xml b/nbproject/ant-deploy.xml new file mode 100644 index 0000000..bcfeee4 --- /dev/null +++ b/nbproject/ant-deploy.xml @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/nbproject/build-impl.xml b/nbproject/build-impl.xml new file mode 100644 index 0000000..fb3f5e8 --- /dev/null +++ b/nbproject/build-impl.xml @@ -0,0 +1,690 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must set src.dir + Must set test.src.dir + Must set build.dir + Must set build.web.dir + Must set build.generated.dir + Must set dist.dir + Must set build.classes.dir + Must set dist.javadoc.dir + Must set build.test.classes.dir + Must set build.test.results.dir + Must set build.classes.excludes + Must set dist.war + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must select some files in the IDE or set javac.includes + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must select some files in the IDE or set javac.jsp.includes + + + + + + + + + + + + + + + + + + + + Must select a file in the IDE or set jsp.includes + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Browser not found, cannot launch the deployed application. Try to set the BROWSER environment variable. + + + Launching ${browse.url} + + + + + + Must select one file in the IDE or set run.class + + + + + + + + + + + + + + + + + + + + + + + + + + + Must select one file in the IDE or set debug.class + + + + + Must set fix.includes + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must select some files in the IDE or set javac.includes + + + + + + + + + + + + + + + + + + + + + + + Some tests failed; see details above. + + + + + + + + + Must select some files in the IDE or set test.includes + + + + Some tests failed; see details above. + + + + + Must select one file in the IDE or set test.class + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/nbproject/genfiles.properties b/nbproject/genfiles.properties new file mode 100644 index 0000000..0a3337d --- /dev/null +++ b/nbproject/genfiles.properties @@ -0,0 +1,5 @@ +# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. +# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. +nbproject/build-impl.xml.data.CRC32=aabc003a +nbproject/build-impl.xml.script.CRC32=04fbb991 +nbproject/build-impl.xml.stylesheet.CRC32=ac43bae1 diff --git a/nbproject/private/private.properties b/nbproject/private/private.properties new file mode 100644 index 0000000..b76db33 --- /dev/null +++ b/nbproject/private/private.properties @@ -0,0 +1 @@ +user.properties.file=C:\\Documents and Settings\\ATUL\\.netbeans\\5.5\\build.properties diff --git a/nbproject/private/private.xml b/nbproject/private/private.xml new file mode 100644 index 0000000..cc2c0e5 --- /dev/null +++ b/nbproject/private/private.xml @@ -0,0 +1,4 @@ + + + + diff --git a/nbproject/project.properties b/nbproject/project.properties new file mode 100644 index 0000000..82b1f8c --- /dev/null +++ b/nbproject/project.properties @@ -0,0 +1 @@ +war.package=true diff --git a/nbproject/project.xml b/nbproject/project.xml new file mode 100644 index 0000000..0b66db7 --- /dev/null +++ b/nbproject/project.xml @@ -0,0 +1,18 @@ + + + org.netbeans.modules.web.project + + + airlines + 1.6 + + + + + + + + + + + diff --git a/src/conf/MANIFEST.MF b/src/conf/MANIFEST.MF new file mode 100644 index 0000000..59499bc --- /dev/null +++ b/src/conf/MANIFEST.MF @@ -0,0 +1,2 @@ +Manifest-Version: 1.0 + diff --git a/src/java/test/FindCustomer.java b/src/java/test/FindCustomer.java new file mode 100644 index 0000000..30e1401 --- /dev/null +++ b/src/java/test/FindCustomer.java @@ -0,0 +1,63 @@ +/* + * FindCustomer.java + * + * Created on January 1, 2008, 1:59 AM + */ + +package test; +import java.io.Serializable; +import java.util.*; +import java.sql.*; +import java.io.*; + + +/** + * @author ATUL + */ +public class FindCustomer implements Serializable +{ + public String customername, customerid; + public Vector result; + public void setCustomerid(String customerid) + { + if(customerid != null) + this.customerid = customerid; + + } + + public String getCustomerid() + { + return(this.customerid); + } + + public Vector getResult() + { + Vector v = new Vector(); + try + { + Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); + Connection con = DriverManager.getConnection("jdbc:odbc:CustomerDataSource","",""); + PreparedStatement stat = con.prepareStatement("SELECT * from customer where cust_id= ? "); + stat.setString(1,customerid); + ResultSet rs = stat.executeQuery(); + if(rs.next()) + { + v.addElement(rs.getString("cust_name")); + v.addElement(rs.getString("address")); + v.addElement(rs.getString("city")); + + } + + } + catch(Exception ex) + { + ex.printStackTrace(); + } + + this.result = v; + return v; + } + + } + +