protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
		DbConnection dbconObj=new DbConnection();
		Connection con=null;
		Statement stmt=null;
		int seatcapacity=Integer.parseInt(request.getParameter("newseatcount"));
		int tid=Integer.parseInt(request.getParameter("tid"));
		System.out.println(tid);
		try{
			
			con=dbconObj.getDbConnection();
			stmt=con.createStatement();
			stmt.executeUpdate("Update g4_theater set seat_capacity="+seatcapacity+" where theater_id="+tid);
			
			request.setAttribute("yes", "yes");
			RequestDispatcher rd1 = request.getRequestDispatcher("/modifytheater.jsp");
			rd1.forward(request, response);
		}
		catch(Exception e)
		{
			System.out.println("error1:"+ e.getMessage());
		} 
	}