0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

【サーブレット】基本メソッド

Last updated at Posted at 2019-02-17

doGet() メソッド

GETリクエスト時に実行される処理を記述する

doPost() メソッド

POSTリクエスト時に実行される処理を記述する

init() メソッド

サーブレットのインスタンス生成された直後(サーブレットに対する初回リクエスト時)に実行される処理を記述する

使用例)
・サーブレットで使用するクラスの初期化処理

destroy() メソッド

アプリケーションの終了時(アプリケーションサーバが停止するタイミング)で実行される処理を記述する
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?