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