jsp和crystal服务器页面可以缓存在服务器上以提高速度吗?
我在一般报告的服务器上有几个jsp和水晶报告页面。这些可以在服务器上编译吗?我知道asp.net页面,但对jsp和水晶报表(服务器)了解不多。我只是将它们都放在这个问题中,所以我没有在 SO 上创建两个问题。
谢谢。
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 much 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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您指的是 JSP 页面:一般来说,JSP 页面会转换为 Java servlet 代码,然后由应用程序服务器编译为 Java 字节码,具体情况取决于应用程序服务器的配置: 1) 当应用程序在服务器启动时加载时, 2) 当应用程序热部署时(如果您的应用程序服务器支持热部署),或 3) 当 JSP 更改时(如果您的应用程序部署为分解的 EAR/WAR 并且您的服务器正在扫描文件更改)。否则,JSP 不会重新编译,并使用字节码版本来响应请求。
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.