public boolean addItemtoCart(String itemno) throws SQLException, ClassNotFoundException {
			ConnectionUtility chd = new ConnectionUtility();
			Connection con = null;
			PreparedStatement ps = null;
			PreparedStatement ps1 = null;
			ResultSet rs=null;
	        String itemName = null;
	        Double price = 0.0;
	        boolean b = true;
			try  {
		        con = chd.create();	
		    	ps =con.prepareStatement("select itemname,price from Items where itemno = '"+itemno+"' ");
		    	rs=ps.executeQuery();	
		    	while(rs.next()) {
	                itemName = rs.getString(1);
	                price = rs.getDouble(2);
		    	}
		    	ps1 =con.prepareStatement("insert into cart values('"+itemName+"','"+price+"','1') ");
		    	int result = ps1.executeUpdate();
		    	if(result>0) {
	              b= true;
		    	}
			} catch(Exception e) {
				e.printStackTrace();
			}
			finally {
				 try  {
					 con.commit(); 
					 con.close();  
				 } catch(Exception e) {
					e.printStackTrace();
				 }
			}
			return b;		          
		}