i have a project on how to make FlyAway An Airline Booking Portal by using HTML and jsp and servelet and MySQL database
<%@ page language="java" contentType="text/html; charset=windows-1256"
pageEncoding="windows-1256"%>
<%@page import="java.sql.*"%>
<%@page import="servlet.Login"%>
<% try { Class.forName("com.mysql.jdbc.Driver"); } catch (ClassNotFoundException e) { e.printStackTrace(); } Connection connection = null; Statement statement = null; ResultSet resultSet = null; %>
<% if (Login.isLoggedIn) { %>
Admin Dashboard
You are LoggedIn as : <%=Login.email%>. Your Password is : <%=Login.password%>
flight_id | date | day | source | destination | passengers | ticket_price |
flight_id | date | day | source | destination | passengers | ticket_price | |
<%=resultSet.getString("flight_id") %> | <%=resultSet.getString("date") %> | <%=resultSet.getString("day") %> | <%=resultSet.getString("source") %> | <%=resultSet.getString("destination") %> | <%=resultSet.getString("passengers") %> | <%=resultSet.getString("ticket_price") %> |