1. ファイルの作成
tomcatのインストールディレクトリ/webapps
の下に
test
ディレクトリを作成します。
testディレクトリの下に、以下のような、helloworld.txt
を作成します。
hello world
2. 確認
tomatを起動し、ブラウザーで、
http://localhost:8080/test/helloworld.txt
を指定すると
hello world
が表示されます。
tomcat-10.1.48です。 1. ファイルの作成 tomcatのインストールディレクトリ/webapps の下に test ディレクトリを作成します。 testディレクトリの下に、以下のような、helloworld.txt を作成します。 hello world 2. 確...
0 件のコメント:
コメントを投稿