1000 Projects

Join Internshala Certified Online Trainings with Live Projects on Web Development, VLSI, Java, .NET, Hacking, Robotics & more

airline reservation system project in html

June 23, 2012 posted in CSE Projects with Source Code, Java Based Projects by Kasarla shanthan/Ramesh Gavva

The following code added in java and the front end coded with HTML & JSP. Here you can download the total project and execute it with out any errors.

Code for the Login Action in Airline System.

package com;

import java.sql.*;
import java.io.*;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.struts.action.Action;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;

public class LoginAction extends org.apache.struts.action.Action

private final static String SUCCESS = "success";
private final static String FAILURE = "failure";
public ActionForward execute(ActionMapping mapping, ActionForm form,HttpServletRequest request, HttpServletResponse response)throws Exception
ActionForward nextpage=null;
LoginForm lgForm = (LoginForm) form;
String uname = lgForm.getUsername();
String passwd = lgForm.getPassword();
String unam=null;
String password=null;

try {

Connection con=DriverManager.getConnection("jdbc:oracle:thin:@","system","tiger");
Statement st=con.createStatement();

ResultSet rs= st.executeQuery("select username ,password from register where username ='"+uname+"'and password='"+passwd+"'");
while (rs.next()){
password =rs.getString(2);
}catch(Exception s)
if(uname.equals(unam)&& passwd.equals(password)) {
nextpage= mapping.findForward(SUCCESS);


nextpage= mapping.findForward(FAILURE);

return nextpage;


Download airline reservation system jsp and Java project in HTML.

The following two tabs change content below.
Hi, We kasarla shanthan and Ramesh Gavva graduated Btech from VTU / JNTU & former employees of Infrotrack / Wipro Technologies . We basically interested on web development from the graduation period. We are interested to write blogs on Projects and technology. By that initiation we created several websites including 1000projects.org. Our Hobbies are poetry, reading books, story writing writing, and web development.

Latest posts by Kasarla shanthan/Ramesh Gavva (see all)

‹‹‹ Airline Reservation System Project Report SRS

Airline Reservation System Project In VB ›››

Custom Search

2 Comments to "airline reservation system project in html"

  1. mahesh wrote:

    need company web page design

  2. sujatha wrote:

    its useful to us.thank u

Leave Your Comment

Powered by 1000Projects.org , All rights Reserved, Copyright Policy