2025年11月9日日曜日

クロニクル Tomcatでhello world

tomcat-10.1.48です。

1. ファイルの作成

tomcatのインストールディレクトリ/webapps

の下に

test

ディレクトリを作成します。

testディレクトリの下に、以下のような、helloworld.txt

を作成します。

hello world


2. 確認

tomatを起動し、ブラウザーで、

http://localhost:8080/test/helloworld.txt

を指定すると

hello world

が表示されます。




0 件のコメント:

コメントを投稿

クロニクル Tomcatでhello world

tomcat-10.1.48です。 1. ファイルの作成 tomcatのインストールディレクトリ/webapps の下に test ディレクトリを作成します。 testディレクトリの下に、以下のような、helloworld.txt を作成します。 hello world 2. 確...