开发者

Is it possible to precompile jsp into eclipse?

开发者 https://www.devze.com 2023-01-08 03:16 出处:网络
The title is pretty straightforward. I would like to know if there is any possibility of seeing the compiled jsp (the servle开发者_如何学运维t generated) directly into eclipse. Without deploying onto

The title is pretty straightforward.

I would like to know if there is any possibility of seeing the compiled jsp (the servle开发者_如何学运维t generated) directly into eclipse. Without deploying onto any server.


If you work with JSPs, I suggest to buy MyEclipse since it can compile JSPs and show you problems (compile errors, etc) in the editor. Eclipse 3.6 also works but JSP support is much better in MyEclipse.

If you just want to compile the JSPs, then have a look at Maven. With the help of the JSPC Plugin, you can compile the JSPs into Java code and then add this source folder to your project.

For completeness: There is an ancient Tomcat plugin along with the UQBar Extension. That will configure Tomcat to compile the JSPs into a work folder in your project as you use them (i.e. this is not precompilation but the usual on-the-fly-JSP-compilation).

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号