Java Prepared statement not executing

后端 未结 4 509
佛祖请我去吃肉
佛祖请我去吃肉 2021-01-24 02:46

I have created a small 3 tier program, consisting of : front end -> servlet -> database.

Front end I enter some details into a form. They are passed to a servlet, which

4条回答
  •  栀梦
    栀梦 (楼主)
    2021-01-24 03:17

    Use executeUpdate for database write operations:

    preparedStmt.executeUpdate();
    

提交回复
热议问题