sitemesh 3 在生产中使用安全吗?

发布于 2024-12-27 17:38:19 字数 182 浏览 2 评论 0原文

我对 java 中的装饰器很陌生,我发现 sitemesh 提供了很多简单性和灵活性。我注意到稳定版本 2 的开发并不多(我可能是错的)并且有一个新的3 的网站仍处于 alpha 阶段。我担心的是在生产中使用 alpha 代码。现在不确定我是否会因为没有改进而陷入 2 中,或者使用 3 带来的风险。

有人可以帮忙吗?感谢您阅读本文。

I'm new to decorators in java, i've discovered that sitemesh offers a good deal of simplicity and flexibility.I've noticed that the stable version 2 is not much in development(i might be wrong) and that there is a new website for 3 which is still in alpha.My worries is about using alpha code in production.Right now not sure if i will be stuck in 2 because no improvement or use 3 with its risks.

can anyone help? thanks for reading this.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

小鸟爱天空丶 2025-01-03 17:38:19

我已经在生产中使用 alpha1 几个月了,没有出现任何问题。
其中一个网站每天的访问量超过 5000 次。
我只需要调整 struts 上传拦截器,因为它不能开箱即用。

编辑(2014.07.04)

我最近发现,当在带有 ModJK 的 Apache 服务器后面的 Tomcat 中使用时,sitemesh 3 对于生产来说确实不安全。请参阅此处的详细信息:“未修改”标头,后跟带有 sitemesh3 和 mod-jk 的意外内容正文

I've been using alpha1 in production for some months now with no problems.
One of the sites has >5000 visits/day.
I only had to tweak the struts upload interceptor because it didn't work out of the box.

EDIT (2014.07.04)

I recently found out that sitemesh 3 is indeed NOT safe for production when used in Tomcat behind an Apache Server with ModJK. See the details here: "Not Modified" header followed by unexpected content body with sitemesh3 and mod-jk

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文