protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
		String theater_Name=request.getParameter("theater_Name");
	
		Integer seat_Capacity=Integer.parseInt(request.getParameter("seat_Capacity"));
		Double price=250.0;
		int rating=0;
		
		Theater th=new Theater();
		th.setTheater_Name(theater_Name);
		
		th.setSeat_Capacity(seat_Capacity);
		th.setPrice(price);
		th.setRating(rating);
		
		
		try
		{
			InsertTheaterTable.insertTheaterTable(th);
			
			RequestDispatcher rd = request.getRequestDispatcher("/addTheater.jsp");
			
			
				rd.forward(request,response);
			
		}
		catch(Exception e)
		{
			System.out.println("error:"+e.getMessage());
		
			RequestDispatcher rd1 = request.getRequestDispatcher("/addTheater.jsp");
			rd1.forward(request, response);
		}
		
		

	}