开发者

Can jsp and crystal server pages be cached on the server for speed?

开发者 https://www.devze.com 2023-04-11 04:28 出处:网络
I have several jsp and crystal reports pages on the server that general reports.Can these be compiled on the server?I know that asp.net pages are but don\'t know mu开发者_如何学JAVAch about jsp and cr

I have several jsp and crystal reports pages on the server that general reports. Can these be compiled on the server? I know that asp.net pages are but don't know mu开发者_如何学JAVAch about jsp and crystal reports (server). I just put them both in this question so I didn't create two questions on SO.

Thank you.


If you are referring to JSP pages: generally speaking, JSP pages are converted into Java servlet code and then compiled into Java bytecode by the application server, in several conditions based on your app server's configuration: 1) when the application is loaded on server startup, 2) when the application is hot-deployed (if your app server supports hot deploys), or 3) when the JSP is changed (if your app is deployed as an exploded EAR/WAR and your server is scanning for file changes). Otherwise, the JSP is not recompiled and the bytecode version is used to respond to requests.

0

精彩评论

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