You are on page 1of 57

Tour and Travel

Agency
Introduction:
There is a tour and travel agency who is planning to become a market
leader by automating its human travel agents and organization with an
automated tour and travel system for processing flight reservations,
booking hotels, booking vehicles and trains and holiday packages. This
automated travelling system will intermediate between travelers and
the computing system, which interfaces with commercial hotel
package booking, reservation services in flights as well as train. Like a
human travel agent, it will assist travelers in booking, changing, and
canceling flight reservations.

Existing System (Problem


Statement):
In the present system a customer has to approach various agencies to
find details of places and to book tickets. This often requires a lot of
time and effort. A customer may not get the desired information from
these offices and often the customer may be misguided. It is tedious
for a customer to plan a particular journey and have it executed
properly.
Proposed System:
Automated travelling system will process a wide range of flight, train
reservation service requests, holiday packages and transactional
issues. These include, but are not limited to:

· inquiring about flights and airfares,

· making, changing, and canceling traveler profiles and accounts,

· booking, changing, confirming, and canceling flight as well as


train reservations,

· generating travel itineraries.

An Example of a Simple Service


Request Transaction
A user with a valid system account and a valid travel account logs in to
the system, requests to book a holiday package, select locations, flight
reservation, selects a flight, selects a payment method, and specifies
delivery services for the flight and train tickets and travel itineraries.
The system will accommodate both individual and corporate traveler
accounts for domestic travel requests only.

System Requirements
The tour and travel system must be capable of providing fast,
accurate, and courteous ("user friendly") services for all requests
supported. The system must be able to:
· answer inquiries about flights and fares,

· generate, modify, and cancel traveler profiles and travel


accounts,

· make, change, complete, and cancel reservations,

· obtain payment method and verify travelercredit line,

· generate travel itineraries and arrange fordelivery of flight tickets


and flight itineraries.

Types of ticket delivery services include: mail, courier, and airport pick-
up; types of itinerary delivery services include mail, fax, e-mail.

Software Requirements:

Front end: Java/J2EE technologies (Servlet, JSP), HTML,


CSS, Java Script, JDBC

Back end: Oracle Database 10g Express Edition.

Middleware/Server: Apache Tomcat v7.0.

IDE: Eclipse IDE for Java EE Developers

Browser: Best result on Mozilla Firefox

Operating System: Window XP (Minimum).


Hardware Requirements:
CPU: Pentium 4.

RAM: 256 MB.

Space on HD: 5 MB.

Display: CRT, LCD.

Level 0 DFD:
DFD Level 1 (Admin Side):
DFD Level 1 (User Side):
DFD Level 1 (Tour Side):
DFD Level 1 (Visitor Side):
ERD (Entity Relationship
Diagram):
Data Dictionary:

Table name: Customer


Table: FLIGHTBOOKING

Table: Carbooking
CRUISEBOOKING
HOTELBOOKING
Home Page Screenshot
Hotel Booking

Rate list
Distance calculator

Currency convertor
Car booking

Train reservation
Flight booking

Cruise booking
Types of tours
Enroll page

Login page
What is JAVA.
Java is a computer programming language that is concurrent, class-
based, object-oriented, and specifically designed to have as few
implementation dependencies as possible. It is intended to let
application developers "write once, run anywhere" (WORA), meaning
that code that runs on one platform does not need to be recompiled to
run on another. Java applications are typically compiled to bytecode
(class file) that can run on any Java virtual machine (JVM) regardless of
computer architecture. Java is, as of 2014, one of the most popular
programming languages in use, particularly for client-server web
applications, with a reported 9 million developers. Java was originally
developed by James Gosling at Sun Microsystems (which has since
merged into Oracle Corporation) and released in 1995 as a core
component of Sun Microsystems' Java platform. The language derives
much of its syntax from C and C++, but it has fewer low-level facilities
than either of them.

The original and reference implementation Java compilers, virtual


machines, and class libraries were developed by Sun from 1991 and
first released in 1995. As of May 2007, in compliance with the
specifications of the Java Community Process, Sun relicensed most of
its Java technologies under the GNU General Public License. Others
have also developed alternative implementations of these Sun
technologies, such as the GNU Compiler for Java (bytecode compiler),
GNU Classpath (standard libraries), and IcedTea-Web (browser plugin
for applets).

What is J2EE.
Java Platform, Enterprise Edition or Java EE is Oracle's enterprise Java
computing platform. The platform provides an API and runtime
environment for developing and running enterprise software, including
network and web services, and other large-scale, multi-tiered, scalable,
reliable, and secure network applications. Java EE extends the Java
Platform, Standard Edition (Java SE),providing an API for object-
relational mapping, distributed and multi-tier architectures, and web
services. The platform incorporates a design based largely on modular
components running on an application server. Software for Java EE is
primarily developed in the Java programming language. The platform
emphasizes Convention over configuration and annotations for
configuration. Optionally XML can be used to override annotations or to
deviate from the platform defaults.

What is Servlet.
The servlet is a Java programming language class used to extend the
capabilities of a server. Although servlets can respond to any types of
requests, they are commonly used to extend the applications hosted
by web servers, so they can be thought of as Java applets that run on
servers instead of in web browsers. These kinds of servlets are the Java
counterpart to other dynamic Web content technologies such as PHP
and ASP.NET.
What is HTML.
HTML or HyperText Markup Language is the standard markup language
used to create web pages.

HTML is written in the form of HTML elements consisting of tags


enclosed in angle brackets (like <html>). HTML tags most commonly
come in pairs like <h1> and </h1>, although some tags represent
empty elements and so are unpaired, for example <img>. The first tag
in a pair is the start tag, and the second tag is the end tag (they are
also called opening tags and closing tags).

A web browser can read HTML files and compose them into visible or
audible web pages. The browser does not display the HTML tags, but
uses them to interpret the content of the page. HTML describes the
structure of a website semantically along with cues for presentation,
making it a markup language rather than a programming language.

HTML elements form the building blocks of all websites. HTML allows
images and objects to be embedded and can be used to create
interactive forms. It provides a means to create structured documents
by denoting structural semantics for text such as headings,
paragraphs, lists, links, quotes and other items. It can embed scripts
written in languages such as JavaScript which affect the behavior of
HTML web pages.

Web browsers can also refer to Cascading Style Sheets (CSS) to define
the look and layout of text and other material. The W3C, maintainer of
both the HTML and the CSS standards, encourages the use of CSS over
explicit presentational HTML.

What is JavaScript.
JavaScript (JS) is a dynamic computer programming language. It is
most commonly used as part of web browsers, whose implementations
allow client-side scripts to interact with the user, control the browser,
communicate asynchronously, and alter the document content that is
displayed.It is also being used in server-side network programming
(with Node.js), game development and the creation of desktop and
mobile applications.

JavaScript is a prototype-based scripting language with dynamic typing


and has first-class functions. Its syntax was influenced by C. JavaScript
copies many names and naming conventions from Java, but the two
languages are otherwise unrelated and have very different semantics.
The key design principles within JavaScript are taken from the Self and
Scheme programming languages.It is a multi-paradigm language,
supporting object-oriented, imperative, and functional[1][8]
programming styles.

The application of JavaScript in use outside of web pages—for example,


in PDF documents, site-specific browsers, and desktop widgets—is also
significant. Newer and faster JavaScript VMs and platforms built upon
them (notably Node.js) have also increased the popularity of JavaScript
for server-side web applications. On the client side, JavaScript was
traditionally implemented as an interpreted language but just-in-time
compilation is now performed by recent (post-2012) browsers.

JavaScript was formalized in the ECMAScript language standard and is


primarily used as part of a web browser (client-side JavaScript). This
enables programmatic access to objects within a host environment.

What is JDBC.
JDBC is a Java-based data access technology (Java Standard Edition
platform) from Oracle Corporation. This technology is an API for the
Java programming language that defines how a client may access a
database. It provides methods for querying and updating data in a
database. JDBC is oriented towards relational databases. A JDBC to
ODBC bridge enables connections to any ODBC-accessible data source
in the JVM host environment.
What is CSS.
Cascading Style Sheets (CSS) is a style sheet language used for
describing the look and formatting of a document written in a markup
language. While most often used to style web pages and user
interfaces written in HTML and XHTML, the language can be applied to
any kind of XML document, including plain XML, SVG and XUL. CSS is a
cornerstone specification of the web and almost all web pages use CSS
style sheets to describe their presentation.

CSS is designed primarily to enable the separation of document


content from document presentation, including elements such as the
layout, colors, and fonts.This separation can improve content
accessibility, provide more flexibility and control in the specification of
presentation characteristics, enable multiple pages to share
formatting, and reduce complexity and repetition in the structural
content (such as by allowing for tableless web design). It obviates
those portions of markup that would specify presentation by instead
providing that information in a separate file. For each relevant HTML
element (identified by tags), it provides a list of formatting instructions.
For example, it might say (in CSS syntax), "All heading 1 elements
should be bold." Therefore, no formatting markup such as bold tags

(<b></b>)is needed within the content; what is needed is simply


semantic markup saying, "this text is a level 1 heading."

CSS can also allow the same markup page to be presented in different
styles for different rendering methods, such as on-screen, in print, by
voice (when read out by a speech-based browser or screen reader) and
on Braille-based, tactile devices. It can also be used to allow the web
page to display differently depending on the screen size or device on
which it is being viewed. While the author of a document typically links
that document to a CSS file, readers can use a different style sheet,
perhaps one on their own computer, to override the one the author has
specified. However if the author or the reader did not link the
document to a specific style sheet the default style of the browser will
be applied.
CSS specifies a priority scheme to determine which style rules apply if
more than one rule matches against a particular element. In this so-
called cascade, priorities or weights are calculated and assigned to
rules, so that the results are predictable.

The CSS specifications are maintained by the World Wide Web


Consortium (W3C). Internet media type (MIME type) text/css is
registered for use with CSS by RFC 2318 (March 1998), and they also
operate a free CSS validation service.

What is JSP.
JavaServer Pages (JSP) is a technology that helps software developers
create dynamically generated web pages based on HTML, XML, or
other document types. Released in 1999 by Sun Microsystems, JSP is
similar to PHP, but it uses the Java programming language.

To deploy and run JavaServer Pages, a compatible web server with a


servlet container, such as Apache Tomcat or Jetty, is required.

JSP may be viewed as a high-level abstraction of Java servlets. JSPs are


translated into servlets at runtime; each JSP servlet is cached and re-
used until the original JSP is modified.

JSP can be used independently or as the view component of a server-


side model–view–controller design, normally with JavaBeans as the
model and Java servlets (or a framework such as Apache Struts) as the
controller. This is a type of Model 2 architecture.

JSP allows Java code and certain pre-defined actions to be interleaved


with static web markup content, with the resulting page being
compiled and executed on the server to deliver a document. The
compiled pages, as well as any dependent Java libraries, use Java
bytecode rather than a native software format. Like any other Java
program, they must be executed within a Java virtual machine (JVM)
that integrates with the server's host operating system to provide an
abstract platform-neutral environment.
JSPs are usually used to deliver HTML and XML documents, but through
the use of OutputStream, they can deliver other types of data as well.

The Web container creates JSP implicit objects like pageContext,


servletContext, session, request & response.

What is Oracle Database 10g


Express Edition (Oracle
Database XE):
Oracle Database 10g Express Edition (Oracle Database XE) is a free
version of the world's most capable relational database. Oracle
Database XE is easy to install, easy to manage, and easy to develop
with.

With Oracle Database XE, you use an intuitive, browser-based


interface, to:

Administer the database

Create tables, views, and other database objects

Import, export, and view table data

Run queries and SQL scripts

Generate reports.

What is Apache Tomcat v7.0.


Apache Tomcat (or simply Tomcat, formerly also Jakarta Tomcat) is an
open source web server and servlet container developed by the
Apache Software Foundation (ASF). Tomcat implements the Java
Servlet and the JavaServer Pages (JSP) specifications from Sun
Microsystems, and provides a "pure Java" HTTP web server
environment for Java code to run in. In the simplest config Tomcat runs
in a single operating system process. The process runs a Java virtual
machine (JVM). Every single HTTP request from a browser to Tomcat is
processed in the Tomcat process in a separate thread.

Apache Tomcat includes tools for configuration and management, but


can also be configured by editing XML configuration files.

What is Eclipse IDE for Java EE


Developers:

Codding of Enroll page.


<%
String path=new
java.net.URL(request.getScheme(),request.getServerName(),request.getServerPort(),requ
est.getContextPath()).toString();
%>
<LINK HREF="<%=path+"/Styles/Travel.css"%>" REL="STYLESHEET">
<SCRIPT>
function doClear()
{
document.mainform.BudgetAmtPDay.value = "";
document.mainform.BudgetAmtPTrip.value = "";
}
function doSubmit()
{
var strErrMsg;
strErrMsg = "";
strErrMsg = doValidations();
if (strErrMsg == "" )
{
document.mainform.action = "<%=path+"/register"%>";

document.mainform.submit();
}
else
{alert(strErrMsg);}
}
function doValidations()
{
var ddIndex;
var strTemp;
var strFld;
var frmDoc;
var strErrMsg;

strErrMsg = "";
frmDoc = document.mainform;
strFld = frmDoc.loginid
if (strFld.value == "") strErrMsg = strErrMsg + "Please enter
LoginID\n";
strFld = frmDoc.pswd
if (strFld.value == "") strErrMsg = strErrMsg + "Please enter
Your Password\n";
strTemp = frmDoc.confpswd
if (strFld.value == "") strErrMsg = strErrMsg + "Please reenter
your Password\n";
if (strFld.value != strTemp.value)
{
strErrMsg = strErrMsg + "Your password doesn't match\n";
frmDoc.confpswd.value="";
}
strFld = frmDoc.answer
if (strFld.value == "") strErrMsg = strErrMsg + "Please enter
youe security answer\n";
strFld = frmDoc.fname
if (strFld.value == "") strErrMsg = strErrMsg + "Please enter
youe first name\n";
strFld = frmDoc.lname
if (strFld.value == "") strErrMsg = strErrMsg + "Please enter
youe last name\n";
strFld = frmDoc.add1
if (strFld.value == "") strErrMsg = strErrMsg + "Please enter
first line of your address\n";
strFld = frmDoc.add2
if (strFld.value == "") strErrMsg = strErrMsg + "Please enter
second line of your address\n";
strFld = frmDoc.city
if (strFld.value == "") strErrMsg = strErrMsg + "Please enter
your city\n";
strFld = frmDoc.pin
if (strFld.value == "") strErrMsg = strErrMsg + "Please enter
your postal code\n";
strFld = frmDoc.cno
if (strFld.value == "") strErrMsg = strErrMsg + "Please enter
your contact number\n";
strFld = frmDoc.mailid
if (strFld.value == "")
{strErrMsg = strErrMsg = strErrMsg + "Please enter Email ID\n";}
else
{
var strEmail=frmDoc.mailid.value;
var pos1=strEmail.indexOf("@")
var pos2=strEmail.indexOf(".")
if (pos1>=0 && pos2>=0){}else{strErrMsg = strErrMsg + "Please
enter Email ID\n";}
}
return strErrMsg;
}
</SCRIPT>
<BODY LEFTMARGIN=0 TOPMARGIN=0>
<TABLE WIDTH=780 align=center cellspacing=0 cellpadding=0>
<TR><TD valign=top>
<img style="position:relative;top:-20px;left:20px;"
valign=top src="<%=path+"/Images/Animsun.gif"%>" width="40" height="26">
<img src="<%=path+"/Images/frontpage.gif"%>" alt=""
width="356" height="71">
<img src="<%=path+"/Images/Hdr_AS_Seal.jpg"%>"
width="289" height="71">
<img src="<%=path+"/Images/animated.gif"%>"
width="67" valign=top style="position:relative;top:-20px"></TD></TR></TABLE>
<SCRIPT SRC="<%=path+"/Scripts/Menubar.js"%>"></SCRIPT>
<TABLE WIDTH=780 align=center cellspacing=0 cellpadding=4 style="font:bold 11px
verdana">

<TR bgcolor=#234567><TH valign=top width=150>Quick Links</TH><TH width=400><marquee


direction=right> We Share a Vision
</marquee></TH><TH width=230><a href="" class=caption>Visit India on Your
Requirements</a></TH></TR></TABLE>
<TABLE width=780 align=center cellspacing=0 cellpadding=0><TR><TD valign=top>
<SCRIPT>
quickLinks("<%=path+"/Pages/"%>","<%=path+"/Images/Anniversary1.jpg"%>","<
%=path+"/Images/trivendrum.jpg"%>");
</SCRIPT></TD><TD valign=top>
<TABLE WIDTH=580 align=center cellspacing=0 cellpadding=0 style="font:bold 11px
verdana">
<TR><Td align=center><BR>Search&nbsp;:&nbsp;<input type=text name=search
class=input>&nbsp;&nbsp;<button accesskey='S'><u>S</u>earch</button>&nbsp;&nbsp;<a
href='advanced.htm'>Advanced Search</a><BR><BR></Th></TR>
<TR><Th style='color:green'><BR><B><center>travel Management Members Enrolling
Terminal</center></B><BR></TD></TR></TABLE>
<FORM name=mainform method=post action="<%=path+"/login"%>">
<table cellspacing=0 cellpadding=4>
<%
String status=request.getAttribute("Response")!=null?"<TR><TD colspan=2
align=center style='color:maroon'>"+request.getAttribute("Response").toString()
+"</TD></TR>":"";
out.println(status);
%>
<TR>
<TD align=right>Customer Id&nbsp;&nbsp;:&nbsp;&nbsp;</TD>
<TD><input name="loginid" type="text" class=input>
</TR>
<TR>
<td align=right>Password&nbsp;&nbsp;:&nbsp;&nbsp;</TD>
<td><input type=password name=pswd class=input></TD></TR>
<TR>
<td align=right>Retype Password&nbsp;&nbsp;:&nbsp;&nbsp;</TD>
<td><input type=password name=confpswd class=input></TD>
</TR>
<TR>
<td align=right>Password&nbsp;&nbsp;:&nbsp;&nbsp;</TD>
<TD><select name=security_question>
<option value=1 selected>What is your preferred internet password?</option>
<option value=2>What is the name of the street where you grew up?</option>
<option value=4>What is the name of your favorite restaurant?</option>
<option value=5>What is your favorite movie?</option>
<option value=6>What is the name of your favorite cartoon character?
</option>
<option value=7>Who is your favorite fictional character?</option>
<option value=8>Where did you go on your first date?</option>
<option value=9>What is your favorite pet's name?</option>
<option value=11>What is your best friend's last name?</option>
</select></TD></TR>
<TR>
<td align=right>Hint Answer&nbsp;&nbsp;:&nbsp;&nbsp;</TD>
<td><input type=password name=answer class=input></TD></TR>
<TR>
<TD align=right>First Name&nbsp;&nbsp;:&nbsp;&nbsp;</TD>
<TD><input name="fname" type="text" class=input>
</TR>
<TR>
<TD align=right>Middle Name&nbsp;&nbsp;:&nbsp;&nbsp;</TD>
<TD><input name="mname" type="text" class=input>
</TR>
<TR>
<TD align=right>Last name&nbsp;&nbsp;:&nbsp;&nbsp;</TD>
<TD><input name="lname" type="text" class=input>
</TR>
<TR>
<TD align=right>Sex&nbsp;&nbsp;:&nbsp;&nbsp;</TD>
<TD><select name=sex>
<option value="M" selected>MALE</option>
<option value="F">FEMALE</option>
</select></TD></TR>
<TR>
<TD align=right>Date of Birth&nbsp;&nbsp;:&nbsp;&nbsp;</TD>
<TD><select name="dd">
<option value="1" selected>01</option>
<option value="2">02</option>
<option value="3">03</option>
<option value="4">04</option>
<option value="5">05</option>
<option value="6">06</option>
<option value="7">07</option>
<option value="8">08</option>
<option value="9">09</option>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
<option value="13">13</option>
<option value="14">14</option>
<option value="15">15</option>
<option value="16">16</option>
<option value="17">17</option>
<option value="18">18</option>
<option value="19">19</option>
<option value="20">20</option>
<option value="21">21</option>
<option value="22">22</option>
<option value="23">23</option>
<option value="24">24</option>
<option value="25">25</option>
<option value="26">26</option>
<option value="27">27</option>
<option value="28">28</option>
<option value="29">29</option>
<option value="30">30</option>
<option value="31">31</option>
</select>
&nbsp; <select name="mm">
<option value="1" selected>JAN</option>
<option value="2">FEB</option>
<option value="3">MAR</option>
<option value="4">APR</option>
<option value="5">MAY</option>
<option value="6">JUN</option>
<option value="7">JUL</option>
<option value="8">AUG</option>
<option value="9">SEP</option>
<option value="10">OCT</option>
<option value="11">NOV</option>
<option value="12">DEC</option>
</select>
&nbsp; <select name="yy" size="1">
<option value="1980">1980</option>
<option value="1981">1981</option>
<option value="1982">1982</option>
<option value="1983">1983</option>
<option value="1984">1984</option>
<option value="1985">1985</option>
<option value="1986">1986</option>
<option value="1987">1987</option>
<option value="1988">1988</option>
<option value="1989">1989</option>
<option value="1990">1990</option>
<option value="1991">1991</option>
<option value="1992">1992</option>
<option value="1993">1993</option>
<option value="1994">1994</option>
<option value="1995">1995</option>
<option value="1996">1996</option>
<option value="1997">1997</option>
<option value="1998">1998</option>
<option value="1999">1999</option>
<option value="2000">2000</option>
<option value="2001">2001</option>
<option value="2002">2002</option>
<option value="2003">2003</option>
<option value="2004">2004</option>
<option value="2005">2005</option>
<option value="2006">2006</option>
<option value="2007">2007</option>
<option value="2008">2008</option>
<option value="2009">2009</option>
<option value="2010">2010</option>
<option value="2011">2011</option>
<option value="2012">2012</option>
<option value="2013">2013</option>
<option value="2014">2014</option>

</select> </td>
</tr>
<TR>
<TD align=right>Line #1 Address (or P.O.
Box):&nbsp;&nbsp;:&nbsp;&nbsp;</TD>
<TD><input class=input name=add1></TD></TR>
<TD align=right>Line #2 Address (include Apt
#):&nbsp;&nbsp;:&nbsp;&nbsp;</TD>
<TD><input class=input name=add2></TD></TR>
<TR><TD align=right>City:&nbsp;&nbsp;:&nbsp;&nbsp;</TD>
<TD><input class=input name=city></TD></TR>
<TR><TD align=right>State:&nbsp;&nbsp;:&nbsp;&nbsp;</TD>
<TD><select name=state size="1">
<option value="AP">Andhra Pradesh</option>
<option value="ND" selected>New Delhi</option>
<option value="PB">Punjab</option>
<option value="HR">Hariyana</option>
<option value="HP">Himanchal Pradesh</option>
<option value="GJ">Gujrat</option>
<option value="MP">Madhya Pradesh</option>
<option value="BR">Bihar</option>
<option value="MH">Maharashtra</option>
<option value="RJ">Rajasthan</option>
<option value="KA">Karnatka</option>
<option value="KR">Kerala</option>
<option value="UP">Uttar Pradesh</option>
</select></TD></TR>
<TD align=right>Zip:&nbsp;&nbsp;:&nbsp;&nbsp;</TD>
<TD><input class=input name=pin></TD></TR>
<TR><TD align=right>Contact No&nbsp;&nbsp;:&nbsp;&nbsp;</TD>
<TD><input class=input name=cno></TD></TR>
<TR><TD align=right>Email-Id for
Correspondance&nbsp;&nbsp;:&nbsp;&nbsp;</TD>
<TD><input class=input name=mailid></TD></TR>
<TR><TD>&nbsp;</TD><TD>
<input type=checkbox checked value=Y name=flag>Yes, I would like
to hear more about
priceline's<br>
upcoming services and special promotions.</TD></TR>
<TR><Td colspan=2 align=center><a href="javascript:doSubmit()"><img src="<
%=path+"/Images/createProfile.gif"%>" border=0></A>
</TD></TR></tABLE></form>
<!--<SCRIPT>setFooter("<%=path%>","<%=path+"/Images/Back.jpg"%>")</SCRIPT>-->

Codding of Login page.


<%
String path=new
java.net.URL(request.getScheme(),request.getServerName(),request.getServerPort(),requ
est.getContextPath()).toString();
%>
<LINK HREF="<%=path+"/Styles/Travel.css"%>" REL="STYLESHEET">
<BODY LEFTMARGIN=0 TOPMARGIN=0>
<TABLE WIDTH=780 align=center cellspacing=0 cellpadding=0>
<TR><TD valign=top>
<img style="position:relative;top:-20px;left:20px;"
valign=top src="<%=path+"/Images/Animsun.gif"%>" width="40" height="26">
<img src="<%=path+"/Images/frontpage.gif"%>" alt=""
width="356" height="71">
<img src="<%=path+"/Images/Hdr_AS_Seal.jpg"%>"
width="289" height="71">
<img src="<%=path+"/Images/animated.gif"%>"
width="67" valign=top style="position:relative;top:-20px"></TD></TR></TABLE>
<SCRIPT SRC="<%=path+"/Scripts/Menubar.js"%>"></SCRIPT>
<TABLE WIDTH=780 align=center cellspacing=0 cellpadding=4 style="font:bold 11px
verdana">

<TR bgcolor=#234567><TH valign=top width=150>Quick Links</TH><TH width=400><marquee


direction=right>Travel Management</marquee></TH><TH width=230><a href=""
class=caption>Visit India on Your Requirements</a></TH></TR></TABLE>
<TABLE width=780 align=center cellspacing=0 cellpadding=0><TR><TD>
<SCRIPT>
quickLinks("<%=path+"/Pages/"%>","<%=path+"/Images/Anniversary1.jpg"%>","<
%=path+"/Images/trivendrum.jpg"%>");
</SCRIPT></TD><TD valign=top>
<SCRIPT>
function doSubmit()
{
var strErrMsg;
strErrMsg = "";
strErrMsg = doValidations();
if (strErrMsg == "" )
{
document.mainform.action = "hotelconfirm";
document.mainform.submit();
return true;
}
else
{alert(strErrMsg);return false}
}
function doValidations()
{
var ddIndex;
var strTemp;
var strFld;
var frmDoc;
var strErrMsg;
strErrMsg = "";
frmDoc = document.mainform;
if(frmDoc.syy.value<=frmDoc.dyy.value)
{
if(frmDoc.smm.value<=frmDoc.dmm.value)
{
if(frmDoc.sdd.value>frmDoc.ddd.value)
strErrMsg = strErrMsg + " Date is Incorrect\n";
}
else
strErrMsg = strErrMsg + " Date is Incorrect\n";
}
else
strErrMsg = strErrMsg + " Date is Incorrect\n";
strFld = frmDoc.cardno
if (strFld.value == ""|| strFld.value.length<4 || strFld.value.length >4 )
strErrMsg = strErrMsg + " Credit Crad No. is Invalid\n";
return strErrMsg;
}
</SCRIPT>
<TABLE WIDTH=580 align=center cellspacing=0 cellpadding=0 style="font:bold 11px
verdana">
<TR><Td align=center><BR>Search&nbsp;:&nbsp;<input type=text name=search
class=input>&nbsp;&nbsp;<button accesskey='S'><u>S</u>earch</button>&nbsp;&nbsp;<a
href='advanced.htm'>Advanced Search</a><BR><BR></Th></TR>
<br>
<br>
<br>
<br>
<br>
<TR><Th bgcolor=#234567><BR><B><center>Travel Management</center></B><BR>
<FORM name=mainform method=post action="<%=path+"/login"%>">
<table width=550 align=center cellspacing=0 cellpadding=4 bgcolor=white>
<%
String status=request.getAttribute("Response")!=null?"<TR><TD colspan=2
align=center style='color:maroon'>"+request.getAttribute("Response").toString()
+"</TD></TR>":"";
out.println(status);
%>
<TR>
<TD align=right>Customer Id&nbsp;&nbsp;:&nbsp;&nbsp;</TD>
<TD><input name="loginid" type="text" class=input>
</TR>
<TR>
<td align=right>Password&nbsp;&nbsp;:&nbsp;&nbsp;</TD>
<td><input type=password name=pswd class=input></TD></TR>
<TR><Td colspan=2 align=center><input type=image src="<
%=path+"/Images/Login.gif"%>">&nbsp;&nbsp;<a href="Forgot.jsp">Forgot
Password</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="Enroll.jsp">Not a member Enroll Today?
</a>
</TD></TR></tABLE></form>
</TD></TR></TABLE>
<SCRIPT>setFooter("<%=path%>","<%=path+"/Images/Back.jpg"%>")</SCRIPT>

Codding of Home page.


<%@page isErrorPage="false" errorPage="Error.jsp"%>
<%
String path=new
java.net.URL(request.getScheme(),request.getServerName(),request.getServerPort(),requ
est.getContextPath()).toString();
String member=session.getAttribute("Member")!=null?"Welcome
"+session.getAttribute("Member").toString():"We Share a Vision";
String client=session.getAttribute("Member")!=null?"<a
href='"+path+"/Pages/Signout.jsp' class=caption>Sign Out From Here</a>":"<a
href='"+path+"/Pages/About us.jsp' class=caption>Visit On Your Requirement</a>";
%>
<LINK HREF="<%=path+"/Styles/Travel.css"%>" REL="STYLESHEET">
<BODY LEFTMARGIN=0 TOPMARGIN=0>
<TABLE WIDTH=780 align=center cellspacing=0 cellpadding=0>
<TR><TD valign=top>
<img style="position:relative;top:-20px;left:20px;"
valign=top src="<%=path+"/Images/Animsun.gif"%>" width="40" height="26">
<img src="<%=path+"/Images/frontpage.gif"%>" alt=""
width="356" height="71">
<img src="<%=path+"/Images/Hdr_AS_Seal.jpg"%>"
width="289" height="71">
<img src="<%=path+"/Images/animated.gif"%>"
width="67" valign=top style="position:relative;top:-20px"></TD></TR></TABLE>
<SCRIPT SRC="<%=path+"/Scripts/Menubar.js"%>"></SCRIPT>
<TABLE WIDTH=780 align=center cellspacing=0 cellpadding=4 style="font:bold 11px
verdana">

<TR bgcolor=#234567><TH valign=top width=150>Quick Links</TH><TH width=400><marquee


direction=right><%=member%></marquee></TH><TH width=230><%=client%>&nbsp;&nbsp;|
&nbsp;&nbsp;<a href="<%=path+"/index.jsp"%>" class=caption>Home</a></TH></TR></TABLE>
<TABLE width=780 align=center cellspacing=0 cellpadding=0><TR><TD>
<SCRIPT>
quickLinks("<%=path+"/Pages/"%>","<%=path+"/Images/Anniversary1.jpg"%>","<
%=path+"/Images/trivendrum.jpg"%>");
</SCRIPT></TD><TD valign=top>
<TABLE WIDTH=580 align=center cellspacing=0 cellpadding=0 style="font:bold 11px
verdana">
<TR><Td align=center><BR>Search&nbsp;:&nbsp;<input type=text name=search
class=input>&nbsp;&nbsp;<input type=image src="<%=path+"/Images/Search.gif"%>"
valign=middle>&nbsp;&nbsp;<a href='advanced.htm'>Advanced Search</a></Th></TR>
<TR><TD class=padd style='text-align:justify;color:navy;font:100 11px
tahoma'><BR><B>Hotel Reservation</B><BR>
In order to provide the perfectly sounded travel experience, Grandtourtravels has its
own hotels portfolio offering the highest standards in comfort, decor and service
while super craftsmanship, professional managements and outstanding cuisine are
notable highlights.<BR><BR>
<B>Money Saving Choices Rates Programs</b><br>
Ask for special offers from our company. Just call our reservations center for
details<BR><BR>
<B>Business Rates</B><BR>
Business travelers Services discounted room rates and special amenities such as
newspaper a piping hot cup of coffee and room upgrades when available.<BR><BR>
<B>Mature Travels Programs</B><Br>
Mature travelers here the opportunity for special treatment of you are 60+, you'll
save up to 30% off you room rate with advance reservation, call and ask for 60+ rate.
If you are 50+, we offer a 10% discount you sound call in advance. 10% saving on
advance reservation: Save 10%on future hotel reservation when you call ahead.<br><BR>
<B>Educational & Training Trips</B><BR>
These travelers have the opportunity for special discount of 20% on your room
rates<br><BR>
</TD></TR></TABLE>
<SCRIPT>setFooter("<%=path%>","<%=path+"/Images/Back.jpg"%>")</SCRIPT>

Codding of Hotel booking page.


<%@include file="../Common/Global.jsp"%>
<SCRIPT>
function doSubmit()
{
var strErrMsg;
strErrMsg = "";
strErrMsg = doValidations();
if (strErrMsg == "" )
{
document.mainform.action = "<%=path+"/hotelconfirm"%>";
document.mainform.submit();
return true;
}
else
{alert(strErrMsg);return false}
}
function doValidations()
{
var ddIndex;
var strTemp;
var strFld;
var frmDoc;
var strErrMsg;
strErrMsg = "";
frmDoc = document.mainform;
if(frmDoc.syy.value<=frmDoc.dyy.value)
{
if(frmDoc.smm.value<=frmDoc.dmm.value)
{
if(frmDoc.sdd.value>frmDoc.ddd.value)
strErrMsg = strErrMsg + " Date is Incorrect\n";
}
else
strErrMsg = strErrMsg + " Date is Incorrect\n";
}
else
strErrMsg = strErrMsg + " Date is Incorrect\n";
strFld = frmDoc.cardno
if (strFld.value == ""|| strFld.value.length<4 || strFld.value.length >4 )
strErrMsg = strErrMsg + " Credit Crad No. is Invalid\n";
return strErrMsg;
}
</SCRIPT>
<TABLE WIDTH=580 align=center cellspacing=0 cellpadding=0 style="font:bold 11px
verdana">
<TR><Td align=center><BR>Search&nbsp;:&nbsp;<input type=text name=search
class=input>&nbsp;&nbsp;<button accesskey='S'><u>S</u>earch</button>&nbsp;&nbsp;<a
href='advanced.htm'>Advanced Search</a><BR><BR></Th></TR>
<TR><Th style='color:green'><BR><B><center>Hotel Booking or
Lodging</center></B><BR></TD></TABLE>
<table cellspacing=0 cellpadding=4><FORM name=mainform method=post
onsubmit="return doSubmit()">
<TR>
<TD align=right>Customer Id&nbsp;&nbsp;:&nbsp;&nbsp;</TD>
<TD><input name="loginid" type="text" id="loginid" value="<%=user
%>" class=input>
</TR>
<TR>
<td align=right>Type of
Accomodation&nbsp;&nbsp;:&nbsp;&nbsp;</TD>
<td><select name="type" id="type" class=select>
<option value="GH">Guest house</option>
<option value="1S">1 Star Hotel</option>
<option value="23S">2/3 Star Hotel</option>
<option value="5S">5 Star Hotel</option>
<option value="PG">P.G Accomodation</option>
</select>
</TD></TR>
<TR>
<td align=right>Check In Date&nbsp;&nbsp;:&nbsp;&nbsp;</TD>
<TD><select name="sdd" class="select">
<option value="1">01</option>
<option value="2">02</option>
<option value="3">03</option>
<option value="4">04</option>
<option value="5">05</option>
<option value="6">06</option>
<option value="7">07</option>
<option value="8">08</option>
<option value="9">09</option>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
<option value="13">13</option>
<option value="14">14</option>
<option value="15">15</option>
<option value="16">16</option>
<option value="17">17</option>
<option value="18">18</option>
<option value="19">19</option>
<option value="20">20</option>
<option value="21" selected>21</option>
<option value="22">22</option>
<option value="23">23</option>
<option value="24">24</option>
<option value="25">25</option>
<option value="26">26</option>
<option value="27">27</option>
<option value="28">28</option>
<option value="29">29</option>
<option value="30">30</option>
<option value="31">31</option>
</select>
<select name="smm" id="select2">
<option value="01">JAN</option>
<option value="02">FEB</option>
<option value="03">MAR</option>
<option value="04">APR</option>
<option value="05">MAY</option>
<option value="06">JUN</option>
<option value="07">JUL</option>
<option value="08">AUG</option>
<option value="09">SEP</option>
<option value="10">OCT</option>
<option value="11" selected>NOV</option>
<option value="12">DEC</option>
</select>
<select name="syy" id="select3">
<option value="04" selected>2014</option>
<option value="05">2015</option>
<option value="06" selected>2016</option>
<option value="07">2017</option>
</select></td>
</tr>
<TR><td align=right>Check Out Date&nbsp;&nbsp;:&nbsp;&nbsp;</TD>
<td><select name="ddd" id="ddd">
<option value="1">01</option>
<option value="2">02</option>
<option value="3">03</option>
<option value="4">04</option>
<option value="5">05</option>
<option value="6">06</option>
<option value="7">07</option>
<option value="8">08</option>
<option value="9">09</option>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
<option value="13">13</option>
<option value="14">14</option>
<option value="15">15</option>
<option value="16">16</option>
<option value="17">17</option>
<option value="18">18</option>
<option value="19">19</option>
<option value="20">20</option>
<option value="21" selected>21</option>
<option value="22">22</option>
<option value="23">23</option>
<option value="24">24</option>
<option value="25">25</option>
<option value="26">26</option>
<option value="27">27</option>
<option value="28">28</option>
<option value="29">29</option>
<option value="30">30</option>
<option value="31">31</option>
</select>
<select name="dmm" id="select5">
<option value="01">JAN</option>
<option value="02">FEB</option>
<option value="03">MAR</option>
<option value="04">APR</option>
<option value="05">MAY</option>
<option value="06">JUN</option>
<option value="07">JUL</option>
<option value="08">AUG</option>
<option value="09">SEP</option>
<option value="10">OCT</option>
<option value="11" selected>NOV</option>
<option value="12">DEC</option>
</select>
<select name="dyy" id="select6">
<option value="04" selected>2014</option>
<option value="05">2015</option>
<option value="06" selected>2016</option>
<option value="07">2017</option>
</select></td>
</tr>
<TR><td align=right>Hotel Destination&nbsp;&nbsp;:&nbsp;&nbsp;</TD>
<td><select name="dest" id="dest">
<option value="ND" selected>New Delhi</option>
<option value="KL">Kolkata</option>
<option value="CH">Chennai</option>
<option value="MB">Mumbai</option>
<option value="BG">Banglore</option>
<option value="AG">Agra</option>
<option value="AH">Ahmedabad</option>
<option value="HD">Hydrebad</option>
<option value="ID">Indore</option>
<option value="RC">Ranchi</option>
</select></td>
</tr>
<TR><td align=right>No.of Rooms&nbsp;&nbsp;:&nbsp;&nbsp;</TD>
<td><select name="rooms" id="rooms">
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
</select></td>
</tr>
<TR><td align=right>No.of Children&nbsp;&nbsp;:&nbsp;&nbsp;</TD>
<td><input type=text name="children" id="children">
</td></tr>
<TR><td align=right>Last 4 digits of Your Credit Card
No.&nbsp;&nbsp;:&nbsp;&nbsp;</TD>
<TD><input name="cardno" type="password" id="cardno" size="8" maxlength="4"
class=input></tD></TR>
<TR><Td colspan=2 align=center><button type=submit>Book
Now</button>&nbsp;&nbsp;<button type=reset>Clear Now</button>
</TD></TR></tABLE></form>
<SCRIPT>setFooter("<%=path%>","<%=path+"/Images/Back.jpg"%>")</SCRIPT>

Codding of Car booking page.


<%@include file="../Common/Global.jsp"%>
<SCRIPT>
function doEnable()
{
if(document.mainform.type.value=="RT")
{
document.mainform.dropoffcity.disabled = true;
}
else
{
document.mainform.dropoffcity.disabled = false;
//document.mainform.dmm.disabled = true;
//document.mainform.dyy.disabled = true;
}
}
function doSubmit()
{
var strErrMsg;
strErrMsg = "";
strErrMsg = doValidations();
if (strErrMsg == "" )
{
document.mainform.action = "<%=path+"/carconfirm"%>";
document.mainform.submit();
}
else
{alert(strErrMsg);}
}
function doValidations()
{
var ddIndex;
var strTemp;
var strFld;
var frmDoc;
var strErrMsg;
strErrMsg = "";
frmDoc = document.mainform;
strFld = frmDoc.type
if (strFld.value == "RT")
{
if(frmDoc.syy.value<=frmDoc.dyy.value)
{
if(frmDoc.smm.value<=frmDoc.dmm.value)
{
if(frmDoc.sdd.value>frmDoc.ddd.value)
strErrMsg = strErrMsg + " Date is Incorrect\n";
}
else
strErrMsg = strErrMsg + " Date is Incorrect\n";
}
else
strErrMsg = strErrMsg + " Date is Incorrect\n";
}
strFld = frmDoc.cardno
if (strFld.value == "" || strFld.value.length<4)
strErrMsg = strErrMsg + " Credit Crad No. is Invalid\n";
return strErrMsg;
}
</SCRIPT>
<TABLE WIDTH=580 align=center cellspacing=0 cellpadding=0 style="font:bold 11px
verdana">
<TR><Td align=center><BR>Search&nbsp;:&nbsp;<input type=text name=search
class=input>&nbsp;&nbsp;<button accesskey='S'><u>S</u>earch</button>&nbsp;&nbsp;<a
href='advanced.htm'>Advanced Search</a><BR><BR></Th></TR>
<TR><Th style='color:green'><BR><B><center>Travel
Management</center></B><BR></TD></TR></TABLE>
<FORM name=mainform method=post action="<%=path+"/login"%>">
<table cellspacing=0 cellpadding=4>
<%
String status=request.getAttribute("Response")!=null?"<TR><TD colspan=2
align=center style='color:maroon'>"+request.getAttribute("Response").toString()
+"</TD></TR>":"";
out.println(status);
%>
<TR>
<TD align=right>Customer Id&nbsp;&nbsp;:&nbsp;&nbsp;</TD>
<TD><input name="loginid" type="text" class=input value="<%=user
%>">
</TR>
<TR>
<td align=right>Type&nbsp;&nbsp;:&nbsp;&nbsp;</TD>
<td><select name="type" onChange="javascript:doEnable();" >
<option value="RT">Round Trip</option>
<option value="OW">One Way</option>
</select></TD></TR>
<TR>
<TD align=right>Pick-Up City&nbsp;&nbsp;:&nbsp;&nbsp;</TD>
<TD><select name="pickupcity" id="pickupcity">
<option value="ND">New Delhi</option>
<option value="KL">Kolkta</option>
<option value="CH">Chennai</option>
<option value="MB">Mumbai</option>
<option value="BG">Banglore</option>
<option value="AG">Agra</option>
<option value="CD">Chandigarh</option>
<option value="AD">Ahemdabad</option>
</select></TD></TR>
<tr><td align=right>Drop-off City&nbsp;&nbsp;:&nbsp;&nbsp;</td>
<td><select name="dropoffcity" size="1" id="dropoffcity" disabled =
"true">
<option value="ND">New Delhi</option>
<option value="KL">Kolkta</option>
<option value="CH">Chennai</option>
<option value="MB">Mumbai</option>
<option value="BG">Banglore</option>
<option value="AG">Agra</option>
<option value="CD">Chandigarh</option>
<option value="AD">Ahemdabad</option>
</select> </td>
</tr>
<TR>
<TD align=right>Pick-up Date&nbsp;&nbsp;:&nbsp;&nbsp;</TD>
<TD><select name="sdd" id="select35">
<option value="1">01</option>
<option value="2">02</option>
<option value="3">03</option>
<option value="4">04</option>
<option value="5">05</option>
<option value="6">06</option>
<option value="7">07</option>
<option value="8">08</option>
<option value="9">09</option>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
<option value="13">13</option>
<option value="14">14</option>
<option value="15">15</option>
<option value="16">16</option>
<option value="17">17</option>
<option value="18">18</option>
<option value="19">19</option>
<option value="20">20</option>
<option value="21" selected>21</option>
<option value="22">22</option>
<option value="23">23</option>
<option value="24">24</option>
<option value="25">25</option>
<option value="26">26</option>
<option value="27">27</option>
<option value="28">28</option>
<option value="29">29</option>
<option value="30">30</option>
<option value="31">31</option>
</select>
<select name="smm" id="select36">
<option value="01">JAN</option>
<option value="02">FEB</option>
<option value="03">MAR</option>
<option value="04">APR</option>
<option value="05">MAY</option>
<option value="06">JUN</option>
<option value="07">JUL</option>
<option value="08">AUG</option>
<option value="09">SEP</option>
<option value="10">OCT</option>
<option value="11" selected>NOV</option>
<option value="12">DEC</option>
</select>
<select name="syy" id="select37">
<option value="04" selected>2014</option>
<option value="05">2015</option>
<option value="06">2016</option>
<option value="07">2017</option>
<option value="08">2018</option>
<option value="09">2019</option>

</select>
</TR>
<TR>
<TD align=right>Drop-off Date&nbsp;&nbsp;:&nbsp;&nbsp;</TD>
<TD><select name="ddd" id="ddd">
<option value="1">01</option>
<option value="2">02</option>
<option value="3">03</option>
<option value="4">04</option>
<option value="5">05</option>
<option value="6">06</option>
<option value="7">07</option>
<option value="8">08</option>
<option value="9">09</option>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
<option value="13">13</option>
<option value="14">14</option>
<option value="15">15</option>
<option value="16">16</option>
<option value="17">17</option>
<option value="18">18</option>
<option value="19">19</option>
<option value="20">20</option>
<option value="21" selected>21</option>
<option value="22">22</option>
<option value="23">23</option>
<option value="24">24</option>
<option value="25">25</option>
<option value="26">26</option>
<option value="27">27</option>
<option value="28">28</option>
<option value="29">29</option>
<option value="30">30</option>
<option value="31">31</option>
</select>
<select name="dmm" size="1" id="dmm">
<option value="01">JAN</option>
<option value="02">FEB</option>
<option value="03">MAR</option>
<option value="04">APR</option>
<option value="05">MAY</option>
<option value="06">JUN</option>
<option value="07">JUL</option>
<option value="08">AUG</option>
<option value="09">SEP</option>
<option value="10">OCT</option>
<option value="11" selected>NOV</option>
<option value="12">DEC</option>
</select>
<select name="dyy" size="1" id="dyy">
<option value="04">2014</option>
<option value="05">2015</option>
<option value="06">2016</option>
<option value="07">2017</option>
<option value="08">2018</option>
<option value="09">2019</option>
</select></TD>
</TR>
<TR>
<TD align=right>Pick-up Time&nbsp;&nbsp;:&nbsp;&nbsp;</TD>
<TD><SELECT class=font9 id=select2
name=pickuptime>
<OPTION value=00:00>00:00</OPTION>
<OPTION
value=00:15>00:15</OPTION>
<OPTION
value=00:30>00:30</OPTION>
<OPTION
value=00:45>00:45</OPTION>
<OPTION
value=01:00>01:00</OPTION>
<OPTION
value=01:15>01:15</OPTION>
<OPTION
value=01:30>01:30</OPTION>
<OPTION
value=01:45>01:45</OPTION>
<OPTION
value=02:00>02:00</OPTION>
<OPTION
value=02:15>02:15</OPTION>
<OPTION
value=02:30>02:30</OPTION>
<OPTION
value=02:45>02:45</OPTION>
<OPTION
value=03:00>03:00</OPTION>
<OPTION
value=03:15>03:15</OPTION>
<OPTION
value=03:30>03:30</OPTION>
<OPTION
value=03:45>03:45</OPTION>
<OPTION
value=04:00>04:00</OPTION>
<OPTION
value=04:15>04:15</OPTION>
<OPTION
value=04:30>04:30</OPTION>
<OPTION
value=04:45>04:45</OPTION>
<OPTION
value=05:00>05:00</OPTION>
<OPTION
value=05:15>05:15</OPTION>
<OPTION
value=05:30>05:30</OPTION>
<OPTION
value=05:45>05:45</OPTION>
<OPTION
value=06:00>06:00</OPTION>
<OPTION
value=06:15>06:15</OPTION>
<OPTION
value=06:30>06:30</OPTION>
<OPTION
value=06:45>06:45</OPTION>
<OPTION
value=07:00>07:00</OPTION>
<OPTION
value=07:15>07:15</OPTION>
<OPTION
value=07:30>07:30</OPTION>
<OPTION
value=07:45>07:45</OPTION>
<OPTION
value=08:00>08:00</OPTION>
<OPTION
value=08:15>08:15</OPTION>
<OPTION
value=08:30>08:30</OPTION>
<OPTION
value=08:45>08:45</OPTION>
<OPTION
value=09:00>09:00</OPTION>
<OPTION
value=09:15>09:15</OPTION>
<OPTION
value=09:30>09:30</OPTION>
<OPTION
value=09:45>09:45</OPTION>
<OPTION
value=10:00>10:00</OPTION>
<OPTION
value=10:15>10:15</OPTION>
<OPTION
value=10:30>10:30</OPTION>
<OPTION
value=10:45>10:45</OPTION>
<OPTION
value=11:00>11:00</OPTION>
<OPTION
value=11:15>11:15</OPTION>
<OPTION
value=11:30>11:30</OPTION>
<OPTION
value=11:45>11:45</OPTION>
<OPTION value=12:00
selected>12:00</OPTION>
<OPTION value=12:15>12:15</OPTION>
<OPTION value=12:30>12:30</OPTION>
<OPTION
value=12:45>12:45</OPTION>
<OPTION
value=13:00>13:00</OPTION>
<OPTION
value=13:15>13:15</OPTION>
<OPTION
value=13:30>13:30</OPTION>
<OPTION
value=13:45>13:45</OPTION>
<OPTION
value=14:00>14:00</OPTION>
<OPTION
value=14:15>14:15</OPTION>
<OPTION
value=14:30>14:30</OPTION>
<OPTION
value=14:45>14:45</OPTION>
<OPTION
value=15:00>15:00</OPTION>
<OPTION
value=15:15>15:15</OPTION>
<OPTION
value=15:30>15:30</OPTION>
<OPTION
value=15:45>15:45</OPTION>
<OPTION
value=16:00>16:00</OPTION>
<OPTION
value=16:15>16:15</OPTION>
<OPTION
value=16:30>16:30</OPTION>
<OPTION
value=16:45>16:45</OPTION>
<OPTION
value=17:00>17:00</OPTION>
<OPTION
value=17:15>17:15</OPTION>
<OPTION
value=17:30>17:30</OPTION>
<OPTION
value=17:45>17:45</OPTION>
<OPTION
value=18:00>18:00</OPTION>
<OPTION
value=18:15>18:15</OPTION>
<OPTION
value=18:30>18:30</OPTION>
<OPTION
value=18:45>18:45</OPTION>
<OPTION
value=19:00>19:00</OPTION>
<OPTION
value=19:15>19:15</OPTION>
<OPTION
value=19:30>19:30</OPTION>
<OPTION
value=19:45>19:45</OPTION>
<OPTION
value=20:00>20:00</OPTION>
<OPTION
value=20:15>20:15</OPTION>
<OPTION
value=20:30>20:30</OPTION>
<OPTION
value=20:45>20:45</OPTION>
<OPTION
value=21:00>21:00</OPTION>
<OPTION
value=21:15>21:15</OPTION>
<OPTION
value=21:30>21:30</OPTION>
<OPTION
value=21:45>21:45</OPTION>
<OPTION
value=22:00>22:00</OPTION>
<OPTION
value=22:15>22:15</OPTION>
<OPTION
value=22:30>22:30</OPTION>
<OPTION
value=22:45>22:45</OPTION>
<OPTION
value=23:00>23:00</OPTION>
<OPTION
value=23:15>23:15</OPTION>
<OPTION
value=23:30>23:30</OPTION>
<OPTION
value=23:45>23:45</OPTION>
</SELECT>
</TR>
<TR>
<TD align=right>Drop-off Time&nbsp;&nbsp;:&nbsp;&nbsp;</TD>
<TD><SELECT class=font9
id=select3 name=dropofftime>
<OPTION value=00:00>00:00</OPTION>
<OPTION value=00:15>00:15</OPTION>
<OPTION
value=00:30>00:30</OPTION>
<OPTION
value=00:45>00:45</OPTION>
<OPTION
value=01:00>01:00</OPTION>
<OPTION
value=01:15>01:15</OPTION>
<OPTION
value=01:30>01:30</OPTION>
<OPTION
value=01:45>01:45</OPTION>
<OPTION
value=02:00>02:00</OPTION>
<OPTION
value=02:15>02:15</OPTION>
<OPTION
value=02:30>02:30</OPTION>
<OPTION
value=02:45>02:45</OPTION>
<OPTION
value=03:00>03:00</OPTION>
<OPTION
value=03:15>03:15</OPTION>
<OPTION
value=03:30>03:30</OPTION>
<OPTION
value=03:45>03:45</OPTION>
<OPTION
value=04:00>04:00</OPTION>
<OPTION
value=04:15>04:15</OPTION>
<OPTION
value=04:30>04:30</OPTION>
<OPTION
value=04:45>04:45</OPTION>
<OPTION
value=05:00>05:00</OPTION>
<OPTION
value=05:15>05:15</OPTION>
<OPTION
value=05:30>05:30</OPTION>
<OPTION
value=05:45>05:45</OPTION>
<OPTION
value=06:00>06:00</OPTION>
<OPTION
value=06:15>06:15</OPTION>
<OPTION
value=06:30>06:30</OPTION>
<OPTION
value=06:45>06:45</OPTION>
<OPTION
value=07:00>07:00</OPTION>
<OPTION
value=07:15>07:15</OPTION>
<OPTION
value=07:30>07:30</OPTION>
<OPTION
value=07:45>07:45</OPTION>
<OPTION
value=08:00>08:00</OPTION>
<OPTION
value=08:15>08:15</OPTION>
<OPTION
value=08:30>08:30</OPTION>
<OPTION
value=08:45>08:45</OPTION>
<OPTION
value=09:00>09:00</OPTION>
<OPTION
value=09:15>09:15</OPTION>
<OPTION
value=09:30>09:30</OPTION>
<OPTION
value=09:45>09:45</OPTION>
<OPTION
value=10:00>10:00</OPTION>
<OPTION
value=10:15>10:15</OPTION>
<OPTION
value=10:30>10:30</OPTION>
<OPTION
value=10:45>10:45</OPTION>
<OPTION
value=11:00>11:00</OPTION>
<OPTION
value=11:15>11:15</OPTION>
<OPTION
value=11:30>11:30</OPTION>
<OPTION
value=11:45>11:45</OPTION>
<OPTION value=12:00
selected>12:00</OPTION>
<OPTION value=12:15>12:15</OPTION>
<OPTION value=12:30>12:30</OPTION>
<OPTION
value=12:45>12:45</OPTION>
<OPTION
value=13:00>13:00</OPTION>
<OPTION
value=13:15>13:15</OPTION>
<OPTION
value=13:30>13:30</OPTION>
<OPTION
value=13:45>13:45</OPTION>
<OPTION
value=14:00>14:00</OPTION>
<OPTION
value=14:15>14:15</OPTION>
<OPTION
value=14:30>14:30</OPTION>
<OPTION
value=14:45>14:45</OPTION>
<OPTION
value=15:00>15:00</OPTION>
<OPTION
value=15:15>15:15</OPTION>
<OPTION
value=15:30>15:30</OPTION>
<OPTION
value=15:45>15:45</OPTION>
<OPTION
value=16:00>16:00</OPTION>
<OPTION
value=16:15>16:15</OPTION>
<OPTION
value=16:30>16:30</OPTION>
<OPTION
value=16:45>16:45</OPTION>
<OPTION
value=17:00>17:00</OPTION>
<OPTION
value=17:15>17:15</OPTION>
<OPTION
value=17:30>17:30</OPTION>
<OPTION
value=17:45>17:45</OPTION>
<OPTION
value=18:00>18:00</OPTION>
<OPTION
value=18:15>18:15</OPTION>
<OPTION
value=18:30>18:30</OPTION>
<OPTION
value=18:45>18:45</OPTION>
<OPTION
value=19:00>19:00</OPTION>
<OPTION
value=19:15>19:15</OPTION>
<OPTION
value=19:30>19:30</OPTION>
<OPTION
value=19:45>19:45</OPTION>
<OPTION
value=20:00>20:00</OPTION>
<OPTION
value=20:15>20:15</OPTION>
<OPTION
value=20:30>20:30</OPTION>
<OPTION
value=20:45>20:45</OPTION>
<OPTION
value=21:00>21:00</OPTION>
<OPTION
value=21:15>21:15</OPTION>
<OPTION
value=21:30>21:30</OPTION>
<OPTION
value=21:45>21:45</OPTION>
<OPTION
value=22:00>22:00</OPTION>
<OPTION
value=22:15>22:15</OPTION>
<OPTION
value=22:30>22:30</OPTION>
<OPTION
value=22:45>22:45</OPTION>
<OPTION
value=23:00>23:00</OPTION>
<OPTION
value=23:15>23:15</OPTION>
<OPTION
value=23:30>23:30</OPTION>
<OPTION
value=23:45>23:45</OPTION>
</SELECT></tD>
</TR>
<TR>
<TD align=right>Car-Class Preference&nbsp;&nbsp;:&nbsp;&nbsp;</TD>
<TD><select name="carclass" size="1" id="carclass">
<option value="SM">Small</option>
<option value="MD">Mid-Size</option>
<option value="PR">Premium</option>
<option value="LX">Luxury</option>
</select></TD>
</TR>
<TR>
<TD align=right>Enter last four digits of your Credit Card
No&nbsp;&nbsp;:&nbsp;&nbsp;</TD>
<TD><input name="cardno" type="text" class=input>
</TR>

<TR><Td colspan=2 align=center><button onclick="javascript:doSubmit()">Book


Car</button>
</TD></TR></tABLE></form>
<!--<SCRIPT>setFooter("<%=path%>","<%=path+"/Images/Carbg.jpg"%>")</SCRIPT>-->

Codding of Cancel Reservation


page.
<%@include file="../Common/Global.jsp"%>
<SCRIPT>
function doSubmit()
{
var strErrMsg;
strErrMsg = "";
strErrMsg = doValidations();
if (strErrMsg == "" )
{
document.mainform.action = "<%=path+"/cancelhotel2"%>";

document.mainform.submit();
}
else
{alert(strErrMsg);}
}
function doValidations()
{

var strFld;
var frmDoc;
var strErrMsg;

strErrMsg = "";
frmDoc = document.mainform;
strFld = frmDoc.reqno
if (strFld.value == "") strErrMsg = strErrMsg + "req-no can not
be null\n";
return strErrMsg;
}
</SCRIPT>
<TABLE WIDTH=580 align=center cellspacing=0 cellpadding=0 style="font:bold 11px
verdana">
<TR><Td><BR>Search&nbsp;:&nbsp;<input type=text name=search
class=input>&nbsp;&nbsp;<button accesskey='S'><u>S</u>earch</button>&nbsp;&nbsp;<a
href='advanced.htm'>Advanced Search</a><BR><BR></Th></TR>
<TR><Th style='color:green'>Cancel Reservations</TH></TR>
<TR><TD><BR>Procedure of Cancel Reservation is as follows</B>
<LI>It checks for Login ID and password, if both are valid then it will check for
request number corresponding to that LoginID, if it is valid then your reservation
will be cancelled
<LI>If Login ID or password or Request No. fails then again a new window will appear
in which you again enter valid LoginID, password and Request No. After valid LoginID,
password and Request No. your reservation will be cancelled
<LI>A Penality will be charged for cancellation depending upon when you will cancel
your reservation eg. if you cancel 2 days before then penality will be more in
comparison to if you cancel 4 or 5 days before
<TR><Th style='color:green'><BR><B><center>Hotel Booking or
Lodging</center></B><BR><FORM name=mainform method=post>
<table width=560 cellspacing=0 cellpadding=4>
<%
String status=request.getAttribute("Response")!=null?"<TR><TD colspan=2
align=center style='color:maroon'>"+request.getAttribute("Response").toString()
+"</TD></TR>":"";
out.println(status);
%>

<TR>
<TD align=right>Request Id&nbsp;&nbsp;:&nbsp;&nbsp;</TD>
<TD><input type="text" name="reqno" class=input>
</TR>
<TR><Td colspan=2 align=center><button onclick=doSubmit();>Cancel
Now</button>&nbsp;&nbsp;<button type=reset>Clear Now</button>
</TD></TR></tABLE></form>

</TD></TR></TABLE>
<SCRIPT>setFooter("<%=path%>","<%=path+"/Images/Back.jpg"%>")</SCRIPT>

Future Scope:
While at first the system will specialize in agent based booking, in the
future it is expected to be able to:

1) Make hotel and rental car reservations.

2) Issue "ticketless" reservations. For example, "ticketless" flight


reservations will work as follows: travel agents making flight
reservations will issue travelers confirmation numbers (and not a
ticket). At the airline gate the traveler will show photo identification
and the gate agent will locate the flight reservation and issue a
boarding pass.

3) Easy payment methods (By credit card or Net banking or even Cash
on Delivery).

4) So now this website is going to be a free services website.

5) This service gives more discount at a time of a current online


booking.

You might also like