Are JSPs typically sent as .jsp files, precompiled Java files, or precompiled class files?

Is there a “standard” practice for packaging JSPs when preparing WAR for Production Env?

Are they included as .jsp files?

Or are they included as precompiled Java files or precompiled class files?

+3
source share
3 answers

The Servelts / JSP specification says nothing about JSP pre-compilation, which makes this function specific to container implementation . You can precompile a specific container, say, for Tomcat or for WebLogic, and you will surely find Ant tasks for this.

, . (, ), - JSP WAR. , / , , , , : a) JSP b) . Eclipse , .

, , . , , JSP "" ( ) , /.

+3

, WAR .jsp . .jsp . . jsp.

+2

They are packaged as .jsp files. Please take care of the jsp file size in 64K jsp file size

0
source

All Articles