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.

JSP学習

Last updated at Posted at 2018-02-10

2/10

■実施内容
・テキストの内容にしたがい、JSPファイルをEclipse上で作成して実行。

■結果
・htmlにjavaを埋め込んで、変数値を出力することは成功
・src>model>に作成したjavaファイルをjspにimportしたjspファイルを実行すると
  クラス名 + cannot be resolved to a type
 になる。

■確認したこと
・Servletの時と同様、なにがしかのビルドパスの問題でimportしたいjavaファイルが読み込まれてないのではないかと思い、
 warファイルを作成して宛先へ飛ばしましたが、サーブレットはコンパイルされていますが、クラスファイルはclasses>modelの下に存在してませんでした。Employee.javaは作成したがデプロイの対象から外れてしまっているのかもしれません。
・JREインストール設定をJDKに変えたがうまくいかず

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?