The title is pretty straightforward.
I would like to know if there is any possibility of seeing the compiled jsp (the servlet generated) directly into eclipse. Without deploying onto any server.
The title is pretty straightforward.
I would like to know if there is any possibility of seeing the compiled jsp (the servlet generated) directly into eclipse. Without deploying onto any server.
JSP を使用する場合は、 MyEclipseを購入することをお勧めします。これは、JSP をコンパイルし、エディタで問題 (コンパイル エラーなど) を表示できるからです。Eclipse 3.6 も動作しますが、JSP サポートは MyEclipse の方がはるかに優れています。
JSP をコンパイルするだけの場合は、Mavenを参照してください。JSPC Pluginを使用すると、JSP を Java コードにコンパイルし、このソース フォルダーをプロジェクトに追加できます。
完全を期すために: UQBar Extensionとともに古代のTomcat プラグインがあります。これにより、Tomcat が JSP をプロジェクト内の作業フォルダーにコンパイルして使用するように構成されます(つまり、これはプリコンパイルではなく、通常のオンザフライ JSP コンパイルです)。