package org.apache.jsp;

import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import java.sql.*;
import java.util.*;

public final class Home_jsp extends org.apache.jasper.runtime.HttpJspBase
    implements org.apache.jasper.runtime.JspSourceDependent {

  private static final JspFactory _jspxFactory = JspFactory.getDefaultFactory();

  private static java.util.List<String> _jspx_dependants;

  private org.glassfish.jsp.api.ResourceInjector _jspx_resourceInjector;

  public java.util.List<String> getDependants() {
    return _jspx_dependants;
  }

  public void _jspService(HttpServletRequest request, HttpServletResponse response)
        throws java.io.IOException, ServletException {

    PageContext pageContext = null;
    HttpSession session = null;
    ServletContext application = null;
    ServletConfig config = null;
    JspWriter out = null;
    Object page = this;
    JspWriter _jspx_out = null;
    PageContext _jspx_page_context = null;

    try {
      response.setContentType("text/html;charset=UTF-8");
      pageContext = _jspxFactory.getPageContext(this, request, response,
      			null, true, 8192, true);
      _jspx_page_context = pageContext;
      application = pageContext.getServletContext();
      config = pageContext.getServletConfig();
      session = pageContext.getSession();
      out = pageContext.getOut();
      _jspx_out = out;
      _jspx_resourceInjector = (org.glassfish.jsp.api.ResourceInjector) application.getAttribute("com.sun.appserv.jsp.resource.injector");

      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("<!DOCTYPE html>\n");
      out.write("    <html lang=\"en\">\n");
      out.write("    <head>\n");
      out.write("        <meta charset=\"UTF-8\">\n");
      out.write("        <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n");
      out.write("\n");
      out.write("        <link rel=\"shortcut icon\" href=\"assets/img/favicon.png\" type=\"image/png\">\n");
      out.write("\n");
      out.write("        <!--=============== REMIXICONS ===============-->\n");
      out.write("        <link href=\"https://cdn.jsdelivr.net/npm/remixicon@2.5.0/fonts/remixicon.css\" rel=\"stylesheet\">\n");
      out.write("        \n");
      out.write("        <!--=============== SWIPER CSS ===============-->\n");
      out.write("        <link rel=\"stylesheet\" href=\"assets/css/swiper-bundle.min.css\">\n");
      out.write("\n");
      out.write("        <!--=============== CSS ===============-->\n");
      out.write("        <link rel=\"stylesheet\" href=\"assets/css/styles.css\">\n");
      out.write("         <link rel=\"stylesheet\" href=\"assets/css/new.css\">\n");
      out.write("        <title>Travel</title>\n");
      out.write("    </head>\n");
      out.write("    <body>\n");
      out.write("        <header class=\"header\" id=\"header\">\n");
      out.write("            <nav class=\"nav container\">\n");
      out.write("                <a href=\"#\" class=\"nav__logo\">Travel</a>\n");
      out.write("\n");
      out.write("                <div class=\"nav__menu\" id=\"nav-menu\">\n");
      out.write("                    <ul class=\"nav__list\">\n");
      out.write("                        <li class=\"nav__item\">\n");
      out.write("                            <a href=\"#home\" class=\"nav__link active-link\">Home</a>\n");
      out.write("                        </li>\n");
      out.write("                        <li class=\"nav__item\">\n");
      out.write("                            <a href=\"#about\" class=\"nav__link\">About</a>\n");
      out.write("                        </li>\n");
      out.write("                        <li class=\"nav__item\">\n");
      out.write("                            <a href=\"#discover\" class=\"nav__link\">Discover</a>\n");
      out.write("                        </li>\n");
      out.write("                        <li class=\"nav__item\">\n");
      out.write("                            <a href=\"#place\" class=\"nav__link\">Book</a>\n");
      out.write("                        </li>\n");
      out.write("                    </ul>\n");
      out.write("                    \n");
      out.write("                    <div class=\"nav__dark\">\n");
      out.write("                        \n");
      out.write("                        <span class=\"change-theme-name\">Dark mode</span>\n");
      out.write("                        <i class=\"ri-moon-line change-theme\" id=\"theme-button\"></i>\n");
      out.write("                    </div>\n");
      out.write("                    \n");
      out.write("                    <ul class=\"nav__list\">\n");
      out.write("                        <li class=\"nav__item\">\n");
      out.write("                            <a href=\"admin.jsp\" class=\"nav__link \" style=\"font: bold\">Admin</a>\n");
      out.write("                        </li>\n");
      out.write("                        \n");
      out.write("                    </ul>\n");
      out.write("\n");
      out.write("                    <i class=\"ri-close-line nav__close\" id=\"nav-close\"></i>\n");
      out.write("                </div>\n");
      out.write("\n");
      out.write("                <div class=\"nav__toggle\" id=\"nav-toggle\">\n");
      out.write("                    <i class=\"ri-function-line\"></i>\n");
      out.write("                </div>\n");
      out.write("            </nav>\n");
      out.write("        </header>\n");
      out.write("\n");
      out.write("        <main class=\"main\">\n");
      out.write("            <!--==================== HOME ====================-->\n");
      out.write("            <section class=\"home\" id=\"home\">\n");
      out.write("                <img src=\"assets/img/home1.jpg\" alt=\"\" class=\"home__img\">\n");
      out.write("\n");
      out.write("                <div class=\"home__container container grid\">\n");
      out.write("                    <div class=\"home__data\">\n");
      out.write("                        <span class=\"home__data-subtitle\">Discover your place</span>\n");
      out.write("                        <h1 class=\"home__data-title\">Explore The <br> Best <b>Beautiful <br> Beaches</b></h1>\n");
      out.write("                        <a href=\"#\" class=\"button\">Explore</a>\n");
      out.write("\n");
      out.write("                    </div>\n");
      out.write("\n");
      out.write("                    <div class=\"home__social\">\n");
      out.write("                        <a href=\"https://www.facebook.com/\" target=\"_blank\" class=\"home__social-link\">\n");
      out.write("                            <i class=\"ri-facebook-box-fill\"></i>\n");
      out.write("                        </a>\n");
      out.write("                        <a href=\"https://www.instagram.com/\" target=\"_blank\" class=\"home__social-link\">\n");
      out.write("                            <i class=\"ri-instagram-fill\"></i>\n");
      out.write("                        </a>\n");
      out.write("                        <a href=\"https://twitter.com/\" target=\"_blank\" class=\"home__social-link\">\n");
      out.write("                            <i class=\"ri-twitter-fill\"></i>\n");
      out.write("                        </a>\n");
      out.write("                    </div>\n");
      out.write("\n");
      out.write("                    <div class=\"home__info\">\n");
      out.write("                        <div>\n");
      out.write("                            <span class=\"home__info-title\">5 best places to visit</span>\n");
      out.write("                            <a href=\"\" class=\"button button--flex button--link home__info-button\">\n");
      out.write("                                More <i class=\"ri-arrow-right-line\"></i>\n");
      out.write("                            </a>\n");
      out.write("                        </div>\n");
      out.write("\n");
      out.write("                        <div class=\"home__info-overlay\">\n");
      out.write("                            <img src=\"assets/img/home2.jpg\" alt=\"\" class=\"home__info-img\">\n");
      out.write("                        </div>\n");
      out.write("                    </div>\n");
      out.write("                </div>\n");
      out.write("            </section>\n");
      out.write("\n");
      out.write("            <!--==================== ABOUT ====================-->\n");
      out.write("            <section class=\"about section\" id=\"about\">\n");
      out.write("                <div class=\"about__container container grid\">\n");
      out.write("                    <div class=\"about__data\">\n");
      out.write("                        <h2 class=\"section__title about__title\">More Information <br> About The Best Beaches</h2>\n");
      out.write("                        <p class=\"about__description\">You can find the most beautiful and pleasant places at the best \n");
      out.write("                            prices with special discounts, you choose the place we will guide you all the way to wait, get your \n");
      out.write("                            place now.\n");
      out.write("                        </p>\n");
      out.write("                        <a href=\"#\" class=\"button\">Reserve a place</a>\n");
      out.write("                    </div>\n");
      out.write("\n");
      out.write("                    <div class=\"about__img\">\n");
      out.write("                        <div class=\"about__img-overlay\">\n");
      out.write("                            <img src=\"assets/img/about1.jpg\" alt=\"\" class=\"about__img-one\">\n");
      out.write("                        </div>\n");
      out.write("\n");
      out.write("                        <div class=\"about__img-overlay\">\n");
      out.write("                            <img src=\"assets/img/about2.jpg\" alt=\"\" class=\"about__img-two\">\n");
      out.write("                        </div>\n");
      out.write("                    </div>\n");
      out.write("                </div>\n");
      out.write("            </section>\n");
      out.write("            \n");
      out.write("            <!--==================== DISCOVER ====================-->\n");
      out.write("            <section class=\"discover section\" id=\"discover\">\n");
      out.write("                <h2 class=\"section__title\">Discover the most <br> attractive places</h2>\n");
      out.write("                \n");
      out.write("                <div class=\"discover__container container swiper-container\">\n");
      out.write("                    <div class=\"swiper-wrapper\">\n");
      out.write("                        <!--==================== DISCOVER 1 ====================-->\n");
      out.write("                        <div class=\"discover__card swiper-slide\">\n");
      out.write("                            <img src=\"assets/img/discover1.jpg\" alt=\"\" class=\"discover__img\">\n");
      out.write("                            <div class=\"discover__data\">\n");
      out.write("                                <h2 class=\"discover__title\">Bali</h2>\n");
      out.write("                                <span class=\"discover__description\">24 tours available</span>\n");
      out.write("                            </div>\n");
      out.write("                        </div>\n");
      out.write("\n");
      out.write("                        <!--==================== DISCOVER 2 ====================-->\n");
      out.write("                        <div class=\"discover__card swiper-slide\">\n");
      out.write("                            <img src=\"assets/img/discover2.jpg\" alt=\"\" class=\"discover__img\">\n");
      out.write("                            <div class=\"discover__data\">\n");
      out.write("                                <h2 class=\"discover__title\">Hawaii</h2>\n");
      out.write("                                <span class=\"discover__description\">15 tours available</span>\n");
      out.write("                            </div>\n");
      out.write("                        </div>\n");
      out.write("\n");
      out.write("                        <!--==================== DISCOVER 3 ====================-->\n");
      out.write("                        <div class=\"discover__card swiper-slide\">\n");
      out.write("                            <img src=\"assets/img/discover3.jpg\" alt=\"\" class=\"discover__img\">\n");
      out.write("                            <div class=\"discover__data\">\n");
      out.write("                                <h2 class=\"discover__title\">Hvar</h2>\n");
      out.write("                                <span class=\"discover__description\">18 tours available</span>\n");
      out.write("                            </div>\n");
      out.write("                        </div>\n");
      out.write("\n");
      out.write("                        <!--==================== DISCOVER 4 ====================-->\n");
      out.write("                        <div class=\"discover__card swiper-slide\">\n");
      out.write("                            <img src=\"assets/img/discover4.jpg\" alt=\"\" class=\"discover__img\">\n");
      out.write("                            <div class=\"discover__data\">\n");
      out.write("                                <h2 class=\"discover__title\">Whitehaven</h2>\n");
      out.write("                                <span class=\"discover__description\">32 tours available</span>\n");
      out.write("                            </div>\n");
      out.write("                        </div>\n");
      out.write("                    </div>\n");
      out.write("                </div>\n");
      out.write("            </section>\n");
      out.write("\n");
      out.write("            <!--==================== EXPERIENCE ====================-->\n");
      out.write("            <section class=\"experience section\">\n");
      out.write("                <h2 class=\"section__title\">With Our Experience <br> We Will Serve You</h2>\n");
      out.write("\n");
      out.write("                <div class=\"experience__container container grid\">\n");
      out.write("                    <div class=\"experience__content grid\">\n");
      out.write("                        <div class=\"experience__data\">\n");
      out.write("                            <h2 class=\"experience__number\">20</h2>\n");
      out.write("                            <span class=\"experience__description\">Year <br> Experience</span>\n");
      out.write("                        </div>\n");
      out.write("\n");
      out.write("                        <div class=\"experience__data\">\n");
      out.write("                            <h2 class=\"experience__number\">75</h2>\n");
      out.write("                            <span class=\"experience__description\">Complete <br> tours</span>\n");
      out.write("                        </div>\n");
      out.write("\n");
      out.write("                        <div class=\"experience__data\">\n");
      out.write("                            <h2 class=\"experience__number\">650+</h2>\n");
      out.write("                            <span class=\"experience__description\">Tourist <br> Destination</span>\n");
      out.write("                        </div>\n");
      out.write("                    </div>\n");
      out.write("\n");
      out.write("                    <div class=\"experience__img grid\">\n");
      out.write("                        <div class=\"experience__overlay\">\n");
      out.write("                            <img src=\"assets/img/experience1.jpg\" alt=\"\" class=\"experience__img-one\">\n");
      out.write("                        </div>\n");
      out.write("                        \n");
      out.write("                        <div class=\"experience__overlay\">\n");
      out.write("                            <img src=\"assets/img/experience2.jpg\" alt=\"\" class=\"experience__img-two\">\n");
      out.write("                        </div>\n");
      out.write("                    </div>\n");
      out.write("                </div>\n");
      out.write("            </section>\n");
      out.write("\n");
      out.write("            <!--==================== VIDEO ====================-->\n");
      out.write("            <section class=\"video section\">\n");
      out.write("                <h2 class=\"section__title\">Video Tour</h2>\n");
      out.write("\n");
      out.write("                <div class=\"video__container container\">\n");
      out.write("                    <p class=\"video__description\">Find out more with our video of the most beautiful and \n");
      out.write("                        pleasant places for you and your family.\n");
      out.write("                    </p>\n");
      out.write("\n");
      out.write("                    <div class=\"video__content\">\n");
      out.write("                        <video id=\"video-file\">\n");
      out.write("                            <source src=\"assets/video/video.mp4\" type=\"video/mp4\">\n");
      out.write("                        </video>\n");
      out.write("\n");
      out.write("                        <button class=\"button button--flex video__button\" id=\"video-button\">\n");
      out.write("                            <i class=\"ri-play-line video__button-icon\" id=\"video-icon\"></i>\n");
      out.write("                        </button>\n");
      out.write("                    </div>\n");
      out.write("                </div>\n");
      out.write("            </section>\n");
      out.write("            \n");
      out.write("            \n");
      out.write("            <!--==================== Booking ====================-->\n");
      out.write("            <section class=\"video section\" id=\"booking\">\n");
      out.write("                <h2 class=\"section__title\">Bookings</h2>\n");
      out.write("\n");
      out.write("                <div class=\"video__container container\">\n");
      out.write("                    \n");
      out.write("                    <p class=\"video__description\">Book you favourite destination for vacation from anywhere anytime.\n");
      out.write("                    </p>\n");
      out.write("\n");
      out.write("                    <div class=\"video__content\" style=\"background-image: url(assets/img/home1.jpg)\">\n");
      out.write("                        \n");
      out.write("                         \n");
      out.write("                        <div id=\"contact\" class=\"contact-area section-padding\">\n");
      out.write("                    <div class=\"container\" >\t\t\t\t\t\t\t\t\t\t\n");
      out.write("\t\t\t\t\t\t\n");
      out.write("                        <div class=\"row\" style=\"margin-bottom: 50px; margin-top: 50px\" >\n");
      out.write("\t\t\t\t<div class=\"contact\">\n");
      out.write("\t\t\t\t\t<form class=\"form\" name=\"enq\">\n");
      out.write("                                            <div class=\"row\" style=\"text-align: center;\">\n");
      out.write("\t\t\t\t\t\t\t<div class=\"form-group col-md-6\">\n");
      out.write("\t\t\t\t\t\t\t\t<input type=\"text\" name=\"name\" class=\"form-control\" placeholder=\"Name\" required=\"required\">\n");
      out.write("\t\t\t\t\t\t\t</div>\n");
      out.write("                                                    <br>\n");
      out.write("\t\t\t\t\t\t\t<div class=\"form-group col-md-6\">\n");
      out.write("\t\t\t\t\t\t\t\t<input type=\"email\" name=\"email\" class=\"form-control\" placeholder=\"Email\" required=\"required\">\n");
      out.write("\t\t\t\t\t\t\t</div><br>\n");
      out.write("\t\t\t\t\t\t\t<div class=\"form-group col-md-12\">\n");
      out.write("                                                            <input type=\"tel\" name=\"phone\" class=\"form-control\" placeholder=\"Phone Number\" required=\"required\" maxlength=\"11\">\n");
      out.write("\t\t\t\t\t\t\t</div>\n");
      out.write("\t\t\t\t\t\t\t<br>\n");
      out.write("                                                        <div class=\"form-group col-md-12\">\n");
      out.write("                                                            <select name=\"destination\" required=\"required\" placeholder=\"Select Destination\" class=\"form-control\" style=\"padding: 5px; border-radius: 5px\">\n");
      out.write("                                                                <option value=\"\" disabled selected>Select a destination</option>\n");
      out.write("                                                                <option value=\"Hawaii\">Hawaii</option>\n");
      out.write("                                                                <option value=\"Bali\">Bali</option>\n");
      out.write("                                                                <option value=\"Wora-bora\">Bora Bora</option>\n");
      out.write("                                                                <option value=\"Whitehaven\">Whiteheaven</option>\n");
      out.write("                                                                <option value=\"Hvar\">Hvar</option>\n");
      out.write("                                                             </select>\n");
      out.write("\t\t\t\t\t\t\t</div>\n");
      out.write("\t\t\t\t\t\t\t<br>\n");
      out.write("                                                        <div class=\"col-md-12 text-center\" >\n");
      out.write("\t\t\t\t\t\t\t\t<button type=\"submit\" value=\"Sendmessage\" name=\"submit\" id=\"submitButton\" class=\"btn btn-contact-bg\" title=\"Submit \">Submit</button>\n");
      out.write("                                                                <button type=\"reset\" value=\"Reset message\" name=\"reset\" id=\"resetButton\" class=\"btn btn-contact-bg\" title=\"Reset \">Reset</button>\n");
      out.write("\t\t\t\t\t\t\t</div>\n");
      out.write("                                                        \n");
      out.write("                                                        ");
 Class.forName("org.apache.derby.jdbc.ClientDriver"); 
      out.write("\n");
      out.write("                                                        ");

                                                        
                                                             String action = request.getParameter("submit");
                                                             
                                                             Random random = new Random();
                                                             int id = random.nextInt(99999 - 10000 + 1) + 10000;
                                                                if ("Sendmessage".equals(action)) {
                                                                   // Your JSP code to execute when the button is clicked
                                                                      
                                                            String nm=request.getParameter("name");
                                                            String email=request.getParameter("email");
                                                            String phn=request.getParameter("phone");
                                                            String des=request.getParameter("destination");
                                                            Connection con=DriverManager.getConnection("jdbc:derby://localhost:1527/javap", "root", "root");
                                                            Statement st=con.createStatement();
                                                            int i=st.executeUpdate("insert into PERSONS(id,name,email,phone,destination) values ("+id+",'"+nm+"','"+email+"','"+phn+"','"+des+"')");
                                                            
                                                                }
                                                        
      out.write("\n");
      out.write("\t\t\t\t\t\t</div>\n");
      out.write("\t\t\t\t\t</form>\n");
      out.write("\t\t\t\t</div>\n");
      out.write("\t\t\t\n");
      out.write("                        \n");
      out.write("                    </div>\n");
      out.write("                </div>\n");
      out.write("            </section>\n");
      out.write("\n");
      out.write("            <!--==================== PLACES ====================-->\n");
      out.write("            <section class=\"place section\" id=\"place\">\n");
      out.write("                <h2 class=\"section__title\">Choose Your Place</h2>\n");
      out.write("\n");
      out.write("                <div class=\"place__container container grid\">\n");
      out.write("                    <!--==================== PLACES CARD 1 ====================-->\n");
      out.write("                    <div class=\"place__card\">\n");
      out.write("                        <img src=\"assets/img/place1.jpg\" alt=\"\" class=\"place__img\">\n");
      out.write("                        \n");
      out.write("                        <div class=\"place__content\">\n");
      out.write("                            <span class=\"place__rating\">\n");
      out.write("                                <i class=\"ri-star-line place__rating-icon\"></i>\n");
      out.write("                                <span class=\"place__rating-number\">4,8</span>\n");
      out.write("                            </span>\n");
      out.write("\n");
      out.write("                            <div class=\"place__data\">\n");
      out.write("                                <h3 class=\"place__title\">Bali</h3>\n");
      out.write("                                <span class=\"place__subtitle\">Indonesia</span>\n");
      out.write("                                <span class=\"place__price\">$2499</span>\n");
      out.write("                            </div>\n");
      out.write("                        </div>\n");
      out.write("                        <a href=\"#booking\">\n");
      out.write("                            <button class=\"button button--flex place__button\">\n");
      out.write("                            <i class=\"ri-arrow-right-line\"></i>\n");
      out.write("                        </button>\n");
      out.write("                        </a>\n");
      out.write("                        \n");
      out.write("                    </div>\n");
      out.write("\n");
      out.write("                    <!--==================== PLACES CARD 2 ====================-->\n");
      out.write("                    <div class=\"place__card\">\n");
      out.write("                        <img src=\"assets/img/place2.jpg\" alt=\"\" class=\"place__img\">\n");
      out.write("                        \n");
      out.write("                        <div class=\"place__content\">\n");
      out.write("                            <span class=\"place__rating\">\n");
      out.write("                                <i class=\"ri-star-line place__rating-icon\"></i>\n");
      out.write("                                <span class=\"place__rating-number\">5,0</span>\n");
      out.write("                            </span>\n");
      out.write("\n");
      out.write("                            <div class=\"place__data\">\n");
      out.write("                                <h3 class=\"place__title\">Bora Bora</h3>\n");
      out.write("                                <span class=\"place__subtitle\">Polinesia</span>\n");
      out.write("                                <span class=\"place__price\">$1599</span>\n");
      out.write("                            </div>\n");
      out.write("                        </div>\n");
      out.write("                        \n");
      out.write("                        <a href=\"#booking\">\n");
      out.write("                             <button class=\"button button--flex place__button\">\n");
      out.write("                            <i class=\"ri-arrow-right-line\"></i>\n");
      out.write("                        </button>\n");
      out.write("                        </a>\n");
      out.write("                       \n");
      out.write("                    </div>\n");
      out.write("\n");
      out.write("                    <!--==================== PLACES CARD 3 ====================-->\n");
      out.write("                    <div class=\"place__card\">\n");
      out.write("                        <img src=\"assets/img/place3.jpg\" alt=\"\" class=\"place__img\">\n");
      out.write("                        \n");
      out.write("                        <div class=\"place__content\">\n");
      out.write("                            <span class=\"place__rating\">\n");
      out.write("                                <i class=\"ri-star-line place__rating-icon\"></i>\n");
      out.write("                                <span class=\"place__rating-number\">4,9</span>\n");
      out.write("                            </span>\n");
      out.write("\n");
      out.write("                            <div class=\"place__data\">\n");
      out.write("                                <h3 class=\"place__title\">Hawaii</h3>\n");
      out.write("                                <span class=\"place__subtitle\">EE.UU</span>\n");
      out.write("                                <span class=\"place__price\">$3499</span>\n");
      out.write("                            </div>\n");
      out.write("                        </div>\n");
      out.write("                        \n");
      out.write("                        <a href=\"#booking\">\n");
      out.write("                            \n");
      out.write("                        <button class=\"button button--flex place__button\">\n");
      out.write("                            <i class=\"ri-arrow-right-line\"></i>\n");
      out.write("                        </button>\n");
      out.write("                        </a>\n");
      out.write("\n");
      out.write("                    </div>\n");
      out.write("\n");
      out.write("                    <!--==================== PLACES CARD 4 ====================-->\n");
      out.write("                    <div class=\"place__card\">\n");
      out.write("                        <img src=\"assets/img/place4.jpg\" alt=\"\" class=\"place__img\">\n");
      out.write("                        \n");
      out.write("                        <div class=\"place__content\">\n");
      out.write("                            <span class=\"place__rating\">\n");
      out.write("                                <i class=\"ri-star-line place__rating-icon\"></i>\n");
      out.write("                                <span class=\"place__rating-number\">4,8</span>\n");
      out.write("                            </span>\n");
      out.write("\n");
      out.write("                            <div class=\"place__data\">\n");
      out.write("                                <h3 class=\"place__title\">Whiteheaven</h3>\n");
      out.write("                                <span class=\"place__subtitle\">Australia</span>\n");
      out.write("                                <span class=\"place__price\">$2499</span>\n");
      out.write("                            </div>\n");
      out.write("                        </div>\n");
      out.write(" <a href=\"#booking\">\n");
      out.write("                            \n");
      out.write("                        <button class=\"button button--flex place__button\">\n");
      out.write("                            <i class=\"ri-arrow-right-line\"></i>\n");
      out.write("                        </button>\n");
      out.write("                        </a>\n");
      out.write("                    </div>\n");
      out.write("\n");
      out.write("                    <!--==================== PLACES CARD 5 ====================-->\n");
      out.write("                    <div class=\"place__card\">\n");
      out.write("                        <img src=\"assets/img/place5.jpg\" alt=\"\" class=\"place__img\">\n");
      out.write("                        \n");
      out.write("                        <div class=\"place__content\">\n");
      out.write("                            <span class=\"place__rating\">\n");
      out.write("                                <i class=\"ri-star-line place__rating-icon\"></i>\n");
      out.write("                                <span class=\"place__rating-number\">4,8</span>\n");
      out.write("                            </span>\n");
      out.write("\n");
      out.write("                            <div class=\"place__data\">\n");
      out.write("                                <h3 class=\"place__title\">Hvar</h3>\n");
      out.write("                                <span class=\"place__subtitle\">Croacia</span>\n");
      out.write("                                <span class=\"place__price\">$1999</span>\n");
      out.write("                            </div>\n");
      out.write("                        </div>\n");
      out.write("\n");
      out.write("                         <a href=\"#booking\">\n");
      out.write("                            \n");
      out.write("                        <button class=\"button button--flex place__button\">\n");
      out.write("                            <i class=\"ri-arrow-right-line\"></i>\n");
      out.write("                        </button>\n");
      out.write("                        </a>\n");
      out.write("                    </div>\n");
      out.write("                </div>\n");
      out.write("            </section>\n");
      out.write("\n");
      out.write("            <!--==================== SUBSCRIBE ====================-->\n");
      out.write("            <section class=\"subscribe section\">\n");
      out.write("                <div class=\"subscribe__bg\">\n");
      out.write("                    <div class=\"subscribe__container container\">\n");
      out.write("                        <h2 class=\"section__title subscribe__title\">Subscribe Our <br> Newsletter</h2>\n");
      out.write("                        <p class=\"subscribe__description\">Subscribe to our newsletter and get a \n");
      out.write("                            special 30% discount.\n");
      out.write("                        </p>\n");
      out.write("    \n");
      out.write("                        <form action=\"\" class=\"subscribe__form\">\n");
      out.write("                            <input type=\"text\" placeholder=\"Enter email\" class=\"subscribe__input\" name=\"submail\">\n");
      out.write("    \n");
      out.write("                            <button class=\"button\" name=\"subscribe\" value=\"sub\">\n");
      out.write("                                Subscribe\n");
      out.write("                            </button>\n");
      out.write("                        </form>\n");
      out.write("                        ");

                                                        
                                                             String action2 = request.getParameter("subscribe");
                                                             
                                                                if ("sub".equals(action2)) {
                                                                   // Your JSP code to execute when the button is clicked
                                                             
                                                            String subemail=request.getParameter("submail");
                                                            
                                                            Connection con=DriverManager.getConnection("jdbc:derby://localhost:1527/javap", "root", "root");
                                                            Statement st=con.createStatement();
                                                            int i=st.executeUpdate("insert into SubScribers(sub_email) values ('"+subemail+"')");
                                                            
                                                                }
                                                        
      out.write("\n");
      out.write("                        \n");
      out.write("                    </div>\n");
      out.write("                </div>\n");
      out.write("            </section>\n");
      out.write("            \n");
      out.write("            <!--==================== SPONSORS ====================-->\n");
      out.write("            <section class=\"sponsor section\">\n");
      out.write("                <div class=\"sponsor__container container grid\">\n");
      out.write("                    <div class=\"sponsor__content\">\n");
      out.write("                        <img src=\"assets/img/sponsors1.png\" alt=\"\" class=\"sponsor__img\">\n");
      out.write("                    </div>\n");
      out.write("                    <div class=\"sponsor__content\">\n");
      out.write("                        <img src=\"assets/img/sponsors2.png\" alt=\"\" class=\"sponsor__img\">\n");
      out.write("                    </div>\n");
      out.write("                    <div class=\"sponsor__content\">\n");
      out.write("                        <img src=\"assets/img/sponsors3.png\" alt=\"\" class=\"sponsor__img\">\n");
      out.write("                    </div>\n");
      out.write("                    <div class=\"sponsor__content\">\n");
      out.write("                        <img src=\"assets/img/sponsors4.png\" alt=\"\" class=\"sponsor__img\">\n");
      out.write("                    </div>\n");
      out.write("                    <div class=\"sponsor__content\">\n");
      out.write("                        <img src=\"assets/img/sponsors5.png\" alt=\"\" class=\"sponsor__img\">\n");
      out.write("                    </div>\n");
      out.write("                </div>\n");
      out.write("            </section>\n");
      out.write("        </main>\n");
      out.write("\n");
      out.write("        <!--==================== FOOTER ====================-->\n");
      out.write("        <footer class=\"footer section\">\n");
      out.write("            <div class=\"footer__container container grid\">\n");
      out.write("                <div class=\"footer__content grid\">\n");
      out.write("                    <div class=\"footer__data\">\n");
      out.write("                        <h3 class=\"footer__title\">Travel</h3>\n");
      out.write("                        <p class=\"footer__description\">Travel you choose the <br> destination, \n");
      out.write("                            we offer you the <br> experience.\n");
      out.write("                        </p>\n");
      out.write("                        <div>\n");
      out.write("                            <a href=\"https://www.facebook.com/\" target=\"_blank\" class=\"footer__social\">\n");
      out.write("                                <i class=\"ri-facebook-box-fill\"></i>\n");
      out.write("                            </a>\n");
      out.write("                            <a href=\"https://twitter.com/\" target=\"_blank\" class=\"footer__social\">\n");
      out.write("                                <i class=\"ri-twitter-fill\"></i>\n");
      out.write("                            </a>\n");
      out.write("                            <a href=\"https://www.instagram.com/\" target=\"_blank\" class=\"footer__social\">\n");
      out.write("                                <i class=\"ri-instagram-fill\"></i>\n");
      out.write("                            </a>\n");
      out.write("                            <a href=\"https://www.youtube.com/\" target=\"_blank\" class=\"footer__social\">\n");
      out.write("                                <i class=\"ri-youtube-fill\"></i>\n");
      out.write("                            </a>\n");
      out.write("                        </div>\n");
      out.write("                    </div>\n");
      out.write("    \n");
      out.write("                    <div class=\"footer__data\">\n");
      out.write("                        <h3 class=\"footer__subtitle\">About</h3>\n");
      out.write("                        <ul>\n");
      out.write("                            <li class=\"footer__item\">\n");
      out.write("                                <a href=\"\" class=\"footer__link\">About Us</a>\n");
      out.write("                            </li>\n");
      out.write("                            <li class=\"footer__item\">\n");
      out.write("                                <a href=\"\" class=\"footer__link\">Features</a>\n");
      out.write("                            </li>\n");
      out.write("                            <li class=\"footer__item\">\n");
      out.write("                                <a href=\"\" class=\"footer__link\">New & Blog</a>\n");
      out.write("                            </li>\n");
      out.write("                        </ul>\n");
      out.write("                    </div>\n");
      out.write("    \n");
      out.write("                    <div class=\"footer__data\">\n");
      out.write("                        <h3 class=\"footer__subtitle\">Company</h3>\n");
      out.write("                        <ul>\n");
      out.write("                            <li class=\"footer__item\">\n");
      out.write("                                <a href=\"\" class=\"footer__link\">Team</a>\n");
      out.write("                            </li>\n");
      out.write("                            <li class=\"footer__item\">\n");
      out.write("                                <a href=\"\" class=\"footer__link\">Plan y Pricing</a>\n");
      out.write("                            </li>\n");
      out.write("                            <li class=\"footer__item\">\n");
      out.write("                                <a href=\"\" class=\"footer__link\">Become a member</a>\n");
      out.write("                            </li>\n");
      out.write("                        </ul>\n");
      out.write("                    </div>\n");
      out.write("    \n");
      out.write("                    <div class=\"footer__data\">\n");
      out.write("                        <h3 class=\"footer__subtitle\">Support</h3>\n");
      out.write("                        <ul>\n");
      out.write("                            <li class=\"footer__item\">\n");
      out.write("                                <a href=\"\" class=\"footer__link\">FAQs</a>\n");
      out.write("                            </li>\n");
      out.write("                            <li class=\"footer__item\">\n");
      out.write("                                <a href=\"\" class=\"footer__link\">Support Center</a>\n");
      out.write("                            </li>\n");
      out.write("                            <li class=\"footer__item\">\n");
      out.write("                                <a href=\"\" class=\"footer__link\">Contact Us</a>\n");
      out.write("                            </li>\n");
      out.write("                        </ul>\n");
      out.write("                    </div>\n");
      out.write("                </div>\n");
      out.write("\n");
      out.write("                <div class=\"footer__rights\">\n");
      out.write("                    <p class=\"footer__copy\">&#169; 2023 Travel. All rigths reserved.</p>\n");
      out.write("                    <div class=\"footer__terms\">\n");
      out.write("                        <a href=\"#\" class=\"footer__terms-link\">Terms & Agreements</a>\n");
      out.write("                        <a href=\"#\" class=\"footer__terms-link\">Privacy Policy</a>\n");
      out.write("                    </div>\n");
      out.write("                </div>\n");
      out.write("            </div>\n");
      out.write("        </footer>\n");
      out.write("\n");
      out.write("         <!--========== SCROLL UP ==========-->\n");
      out.write("        <a href=\"#\" class=\"scrollup\" id=\"scroll-up\">\n");
      out.write("            <i class=\"ri-arrow-up-line scrollup__icon\"></i>\n");
      out.write("        </a>\n");
      out.write("\n");
      out.write("        <!--=============== SCROLL REVEAL===============-->\n");
      out.write("        <script src=\"assets/js/scrollreveal.min.js\"></script>\n");
      out.write("        \n");
      out.write("        <!--=============== SWIPER JS ===============-->\n");
      out.write("        <script src=\"assets/js/swiper-bundle.min.js\"></script>\n");
      out.write("\n");
      out.write("        <!--=============== MAIN JS ===============-->\n");
      out.write("        <script src=\"assets/js/main.js\"></script>\n");
      out.write("    </body>\n");
      out.write("</html>\n");
    } catch (Throwable t) {
      if (!(t instanceof SkipPageException)){
        out = _jspx_out;
        if (out != null && out.getBufferSize() != 0)
          out.clearBuffer();
        if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
        else throw new ServletException(t);
      }
    } finally {
      _jspxFactory.releasePageContext(_jspx_page_context);
    }
  }
}
