Is it better to supply a WAR with JSP class files instead of JSPs themselves?

If we can compile the Tomcat / Jasper JSP using the ANT task, is it better to send a WAR with precompiled JSPs as class files rather than the JSPs themselves?

Therefore, we are not related to the compilation problems of the Weblogic / Webshere JSP. All they get is cool files.

I think this will require the jsp servlet to have to be disabled somehow. And the Spring / Struts servlet must be enabled to handle the jsp extension.

What do you think? And the more often this is done in other production environments?

+1
source share
3 answers

, . , , , / .

JSP QA, , .

+1

JSP .

  • , , .
  • , JSP.

, , - . , , jsp . , , .

, JSP .class . .class .

+2

JSP . . JSP, .

+1

All Articles