int iTabIndex =Integer.parseInt((String) session.get("TabIndex"));orString myInt = “123”;int theInt = new interger(myInt).intValue();