Is it possible to precompile jsp into eclipse?

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-05 10:13:35

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).

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!