・
        Connection conn =
        DriverManager.getConnection
        ("jdbc:oracle:thin:system/admin@localhost:1521:XE");
        
        Statement stmt = conn.createStatement();
        String sql = "insert into TABLE1 values ('001', 'てすと')";
        int num = stmt.executeUpdate(sql);

プロジェクトを右クリックー実行ー実行の構成
クラスパスタブ
外部jarの追加
C:\oraclexe\app\oracle\product\11.2.0\server\jdbc\lib

    
セッションの再作成方法
            ((SessionMap<String, Object>)ActionContext.getContext().getSession()).invalidate();
            HttpSession newsession = ServletActionContext.getRequest().getSession(true);
            
            ServletActionContext.getRequest().getSession(true).invalidate();
      だとstruts2でセッションが消えてることに気づけない?