<%@ page language="java" import ="java.sql.*, java.util.Date,java.text.*" errorPage="errorPage.jsp?errPage=make_your_trip/hotel-reservation/CancellationPolicy" %> <% response.setHeader("Cache-Control","no-store"); response.setHeader("Pragma","no-cache"); //HTTP 1.0 response.setDateHeader ("Expires", 0); String msg = request.getParameter("msg") == null ? "" : request.getParameter("msg"); DecimalFormat df = new DecimalFormat("###.00"); java.util.Date currentDate = new java.util.Date(); String dtChk = (currentDate.getYear()+1900)+"-"+(currentDate.getMonth()+1)+"-"+(currentDate.getDate()); //String keycode_cash = request.getParameter("keycode")==null?"00000":request.getParameter("keycode"); /* long todaytime=currentDate.getTime(); System.out.println("today date"+todaytime); String qry1 = "select resdate from temp_seatavail where lower(isadmin) = lower('yes')"; String dbtime =""; String dbHrTime =""; String dbMinTime =""; int AddCutBookingSeat =0; ResultSet rs = dbconn.FetchRecordset(qry1); if (rs.next()) { dbtime = rs.getString("releseqota_time"); } */ //-------- TESTING CODE --------// /*long curdate = new java.util.GregorianCalendar((currentDate.getYear()+1900), (currentDate.getMonth()+1), (currentDate.getDate()+1)).getTime().getTime(); //Current Date long visitdate = new java.util.GregorianCalendar(2006, 11, 28).getTime().getTime(); double difference = visitdate - curdate; long days = Math.round((difference/(1000*60*60*24))); System.out.println("TOTAL NO OF DAYS : " + days); SimpleDateFormat exp_formatter = new SimpleDateFormat("HH"); String HourTime = exp_formatter.format(new java.util.Date()); SimpleDateFormat exp_formatter1 = new SimpleDateFormat("mm"); String MinuteTime = exp_formatter1.format(new java.util.Date()); System.out.println("Railway Hour Time : " + HourTime + " Minute Time : " + MinuteTime); //---- Getting Time From Data base -----// String qry1 = "select releseqota_time from user_info where lower(isadmin) = lower('yes')"; String dbtime =""; String dbHrTime =""; String dbMinTime =""; int AddCutBookingSeat =0; ResultSet rs = dbconn.FetchRecordset(qry1); if (rs.next()) { dbtime = rs.getString("releseqota_time"); } dbHrTime = dbtime.substring(0,dbtime.indexOf(":")); dbMinTime = dbtime.substring(dbtime.indexOf(":")+1); System.out.println("Railway Time From DB Hour Time : " + dbHrTime + " Minute Time : " + dbMinTime); if (Integer.parseInt(HourTime)>Integer.parseInt(dbHrTime)) { AddCutBookingSeat = 1; } else if (Integer.parseInt(HourTime)==Integer.parseInt(dbHrTime)) { if (Integer.parseInt(MinuteTime)>Integer.parseInt(dbMinTime)) { AddCutBookingSeat = 1; } } System.out.println("AddCutBookingSeat : " + AddCutBookingSeat); */ %> Rajasthan Wildlife,Wild Life Rajasthan,Rajasthan Wildlife Sanctuary
<% try{ %>
   
 
<%if(!msg.equals("")) { %> <% } %>

 

<%= msg%>

Plan Your Trip
No of Person :-
Vehicle:-
No of Vehicle :-
No of Video Cameras :-
Date:-

Terms & Conditions

I Agree with Above Terms & Conditions

If you have any query , please feel free to contact  customercare@rajasthanwildlife.in

<% } catch(Exception e) { e.printStackTrace(); } finally { try { dbconn.Closeallconnection(); } catch(Exception ec) { ec.printStackTrace(); } } %>